Color #12152c
A moderately saturated very dark blue.
Conversions
#12152c
rgb(18, 21, 44)
hsl(233.1, 41.9%, 12.2%)
hsv(233.1, 59.1%, 17.3%)
cmyk(59.1%, 52.3%, 0%, 82.7%)
lab(7.65, 6.6, -16.03)
lch(7.65, 17.34, 292.38)
oklch(20.6%, 0.0457, 276.04)
hwb(233.1, 7.1%, 82.7%)
Harmony colors
Accessibility
White text reads better on this background (17.96:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#131328 · ΔE 1.3
Deuteranopia
#131327 · ΔE 1.6
Tritanopia
#122423 · ΔE 18.8
Achromatopsia
#171717 · ΔE 13.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #12152c;
bg-[#12152c]
Related colors
Frequently asked questions
#12152c (#12152c) is rgb(18, 21, 44) in RGB.
No, #12152c 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 #12152c, or check how it holds up for accessibility.