Color #0c121e
A moderately saturated very dark blue.
Conversions
#0c121e
rgb(12, 18, 30)
hsl(220, 42.9%, 8.2%)
hsv(220, 60%, 11.8%)
cmyk(60%, 40%, 0%, 88.2%)
lab(5.46, 1.13, -8.86)
lch(5.46, 8.93, 277.27)
oklch(18.3%, 0.0266, 263.52)
hwb(220, 4.7%, 88.2%)
Harmony colors
Accessibility
White text reads better on this background (18.73:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0f0f1c · ΔE 2.9
Deuteranopia
#0e0e1b · ΔE 2.8
Tritanopia
#0c1919 · ΔE 9.9
Achromatopsia
#121212 · ΔE 7.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c121e;
bg-[#0c121e]
Related colors
Frequently asked questions
#0c121e (#0c121e) is rgb(12, 18, 30) in RGB.
No, #0c121e 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 #0c121e, or check how it holds up for accessibility.