Color #0c1333
A moderately saturated very dark blue.
Conversions
#0c1333
rgb(12, 19, 51)
hsl(229.2, 61.9%, 12.4%)
hsv(229.2, 76.5%, 20%)
cmyk(76.5%, 62.7%, 0%, 80%)
lab(7.07, 9.45, -22.14)
lch(7.07, 24.07, 293.11)
oklch(20.2%, 0.0637, 270.45)
hwb(229.2, 4.7%, 80%)
Harmony colors
Accessibility
White text reads better on this background (18.16:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0f0f2d · ΔE 1.9
Deuteranopia
#0f0e2c · ΔE 2.2
Tritanopia
#0c2827 · ΔE 22.7
Achromatopsia
#161616 · ΔE 16.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c1333;
bg-[#0c1333]
Related colors
Frequently asked questions
#0c1333 (#0c1333) is rgb(12, 19, 51) in RGB.
No, #0c1333 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 #0c1333, or check how it holds up for accessibility.