Color #0c0819
A moderately saturated very dark blue.
Conversions
#0c0819
rgb(12, 8, 25)
hsl(254.1, 51.5%, 6.5%)
hsv(254.1, 68%, 9.8%)
cmyk(52%, 68%, 0%, 90.2%)
lab(2.91, 4.42, -8.71)
lch(2.91, 9.77, 296.91)
oklch(15.1%, 0.036, 292.72)
hwb(254.1, 3.1%, 90.2%)
Harmony colors
Accessibility
White text reads better on this background (19.73:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0a0a16 · ΔE 3
Deuteranopia
#0b0b15 · ΔE 3.8
Tritanopia
#0c1312 · ΔE 11.3
Achromatopsia
#0b0b0b · ΔE 8.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c0819;
bg-[#0c0819]
Related colors
Frequently asked questions
#0c0819 (#0c0819) is rgb(12, 8, 25) in RGB.
No, #0c0819 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 #0c0819, or check how it holds up for accessibility.