Color #0c042d
A vivid, highly saturated very dark blue.
Conversions
#0c042d
rgb(12, 4, 45)
hsl(251.7, 83.7%, 9.6%)
hsv(251.7, 91.1%, 17.6%)
cmyk(73.3%, 91.1%, 0%, 82.4%)
lab(3.2, 13.59, -23.85)
lch(3.2, 27.45, 299.67)
oklch(16.1%, 0.0785, 283.56)
hwb(251.7, 1.6%, 82.4%)
Harmony colors
Accessibility
White text reads better on this background (19.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#090927 · ΔE 3.9
Deuteranopia
#090a25 · ΔE 5.1
Tritanopia
#0c2120 · ΔE 23.4
Achromatopsia
#0c0c0c · ΔE 18.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c042d;
bg-[#0c042d]
Related colors
Frequently asked questions
#0c042d (#0c042d) is rgb(12, 4, 45) in RGB.
No, #0c042d 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 #0c042d, or check how it holds up for accessibility.