Color #0a0e1f
A moderately saturated very dark blue.
Conversions
#0a0e1f
rgb(10, 14, 31)
hsl(228.6, 51.2%, 8%)
hsv(228.6, 67.7%, 12.2%)
cmyk(67.7%, 54.8%, 0%, 87.8%)
lab(4.31, 3.1, -11.38)
lch(4.31, 11.79, 285.24)
oklch(17%, 0.036, 272.07)
hwb(228.6, 3.9%, 87.8%)
Harmony colors
Accessibility
White text reads better on this background (19.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0c0c1c · ΔE 1.6
Deuteranopia
#0c0b1b · ΔE 2
Tritanopia
#0a1918 · ΔE 13.6
Achromatopsia
#0f0f0f · ΔE 9.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0a0e1f;
bg-[#0a0e1f]
Related colors
Frequently asked questions
#0a0e1f (#0a0e1f) is rgb(10, 14, 31) in RGB.
No, #0a0e1f is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
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 #0a0e1f, or check how it holds up for accessibility.