Color #0c1426
A moderately saturated very dark blue.
Conversions
#0c1426
rgb(12, 20, 38)
hsl(221.5, 52%, 9.8%)
hsv(221.5, 68.4%, 14.9%)
cmyk(68.4%, 47.4%, 0%, 85.1%)
lab(6.49, 2.82, -13.39)
lch(6.49, 13.68, 281.89)
oklch(19.4%, 0.0386, 264.94)
hwb(221.5, 4.7%, 85.1%)
Harmony colors
Accessibility
White text reads better on this background (18.36:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#101022 · ΔE 3.2
Deuteranopia
#0f0f22 · ΔE 3.3
Tritanopia
#0c1f1f · ΔE 14.8
Achromatopsia
#141414 · ΔE 10.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c1426;
bg-[#0c1426]
Related colors
Frequently asked questions
#0c1426 (#0c1426) is rgb(12, 20, 38) in RGB.
No, #0c1426 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 #0c1426, or check how it holds up for accessibility.