Color #120236
A vivid, highly saturated very dark blue.
Conversions
#120236
rgb(18, 2, 54)
hsl(258.5, 92.9%, 11%)
hsv(258.5, 96.3%, 21.2%)
cmyk(66.7%, 96.3%, 0%, 78.8%)
lab(3.96, 21.17, -29.33)
lch(3.96, 36.17, 305.82)
oklch(17.5%, 0.0939, 287.93)
hwb(258.5, 0.8%, 78.8%)
Harmony colors
Accessibility
White text reads better on this background (19.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0c0c2f · ΔE 5.3
Deuteranopia
#0d0e2d · ΔE 6.4
Tritanopia
#112826 · ΔE 25.5
Achromatopsia
#0e0e0e · ΔE 21.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #120236;
bg-[#120236]
Related colors
Frequently asked questions
#120236 (#120236) is rgb(18, 2, 54) in RGB.
No, #120236 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 #120236, or check how it holds up for accessibility.