Color #122e52
A moderately saturated very dark blue.
Conversions
#122e52
rgb(18, 46, 82)
hsl(213.8, 64%, 19.6%)
hsv(213.8, 78%, 32.2%)
cmyk(78%, 43.9%, 0%, 67.8%)
lab(18.76, 3.63, -25.05)
lch(18.76, 25.31, 278.25)
oklch(30.1%, 0.0737, 255.87)
hwb(213.8, 7.1%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (13.65:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#21214b · ΔE 8
Deuteranopia
#1f1d49 · ΔE 9
Tritanopia
#144544 · ΔE 21.5
Achromatopsia
#2e2e2e · ΔE 16.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #122e52;
bg-[#122e52]
Related colors
Frequently asked questions
#122e52 (#122e52) is rgb(18, 46, 82) in RGB.
No, #122e52 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 #122e52, or check how it holds up for accessibility.