Color #1b4052
A moderately saturated dark cyan.
Conversions
#1b4052
rgb(27, 64, 82)
hsl(199.6, 50.5%, 21.4%)
hsv(199.6, 67.1%, 32.2%)
cmyk(67.1%, 22%, 0%, 67.8%)
lab(25.29, -6.87, -14.8)
lch(25.29, 16.32, 245.1)
oklch(35.3%, 0.0525, 232.04)
hwb(199.6, 10.6%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (11.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f4e · ΔE 16.6
Deuteranopia
#2d2a4d · ΔE 17.9
Tritanopia
#1e4b4a · ΔE 11.8
Achromatopsia
#3c3c3c · ΔE 12.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1b4052;
bg-[#1b4052]
Related colors
Frequently asked questions
#1b4052 (#1b4052) is rgb(27, 64, 82) in RGB.
No, #1b4052 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 #1b4052, or check how it holds up for accessibility.