Color #0a0f2a
A moderately saturated very dark blue.
Conversions
#0a0f2a
rgb(10, 15, 42)
hsl(230.6, 61.5%, 10.2%)
hsv(230.6, 76.2%, 16.5%)
cmyk(76.2%, 64.3%, 0%, 83.5%)
lab(5.18, 6.92, -18.47)
lch(5.18, 19.72, 290.54)
oklch(18.2%, 0.055, 271.98)
hwb(230.6, 3.9%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (18.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0c0c25 · ΔE 1.7
Deuteranopia
#0c0c24 · ΔE 2
Tritanopia
#0a2120 · ΔE 20.2
Achromatopsia
#111111 · ΔE 14.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0a0f2a;
bg-[#0a0f2a]
Related colors
Frequently asked questions
#0a0f2a (#0a0f2a) is rgb(10, 15, 42) in RGB.
No, #0a0f2a is not web-safe. The nearest web-safe colors are among its tones and shades below.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #0a0f2a, or check how it holds up for accessibility.