Color #0c1120
A moderately saturated very dark blue.
Conversions
#0c1120
rgb(12, 17, 32)
hsl(225, 45.5%, 8.6%)
hsv(225, 62.5%, 12.5%)
cmyk(62.5%, 46.9%, 0%, 87.5%)
lab(5.27, 2.39, -10.7)
lch(5.27, 10.96, 282.59)
oklch(18.1%, 0.032, 269.1)
hwb(225, 4.7%, 87.5%)
Harmony colors
Accessibility
White text reads better on this background (18.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0e0e1d · ΔE 2.1
Deuteranopia
#0e0e1c · ΔE 2.1
Tritanopia
#0c1a1a · ΔE 12.2
Achromatopsia
#121212 · ΔE 9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c1120;
bg-[#0c1120]
Related colors
Frequently asked questions
#0c1120 (#0c1120) is rgb(12, 17, 32) in RGB.
No, #0c1120 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 #0c1120, or check how it holds up for accessibility.