Color #0c131c
A moderately saturated very dark blue.
Conversions
#0c131c
rgb(12, 19, 28)
hsl(213.8, 40%, 7.8%)
hsv(213.8, 57.1%, 11%)
cmyk(57.1%, 32.1%, 0%, 89%)
lab(5.67, -0.11, -7)
lch(5.67, 7, 269.1)
oklch(18.4%, 0.0214, 254.86)
hwb(213.8, 4.7%, 89%)
Harmony colors
Accessibility
White text reads better on this background (18.66:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0f0f1a · ΔE 3.8
Deuteranopia
#0f0e1a · ΔE 4.5
Tritanopia
#0c1818 · ΔE 7.5
Achromatopsia
#121212 · ΔE 6.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c131c;
bg-[#0c131c]
Related colors
Frequently asked questions
#0c131c (#0c131c) is rgb(12, 19, 28) in RGB.
No, #0c131c is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #0c131c, or check how it holds up for accessibility.