Color #0c0e1c
A moderately saturated very dark blue.
Conversions
#0c0e1c
rgb(12, 14, 28)
hsl(232.5, 40%, 7.8%)
hsv(232.5, 57.1%, 11%)
cmyk(57.1%, 50%, 0%, 89%)
lab(4.3, 2.69, -9.04)
lch(4.3, 9.43, 286.57)
oklch(17%, 0.0294, 276.64)
hwb(232.5, 4.7%, 89%)
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
#0d0d19 · ΔE 1.5
Deuteranopia
#0d0d19 · ΔE 1.5
Tritanopia
#0c1716 · ΔE 11.3
Achromatopsia
#0f0f0f · ΔE 8.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c0e1c;
bg-[#0c0e1c]
Related colors
Frequently asked questions
#0c0e1c (#0c0e1c) is rgb(12, 14, 28) in RGB.
No, #0c0e1c 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 #0c0e1c, or check how it holds up for accessibility.