Color #152a31
A moderately saturated very dark cyan.
Conversions
#152a31
rgb(21, 42, 49)
hsl(195, 40%, 13.7%)
hsv(195, 57.1%, 19.2%)
cmyk(57.1%, 14.3%, 0%, 80.8%)
lab(15.68, -6.01, -7.16)
lch(15.68, 9.35, 229.99)
oklch(27.1%, 0.0299, 221.47)
hwb(195, 8.2%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (14.92:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#20202f · ΔE 13.2
Deuteranopia
#1f1d2f · ΔE 15.4
Tritanopia
#162e2e · ΔE 5.2
Achromatopsia
#272727 · ΔE 9.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #152a31;
bg-[#152a31]
Related colors
Frequently asked questions
#152a31 (#152a31) is rgb(21, 42, 49) in RGB.
No, #152a31 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 #152a31, or check how it holds up for accessibility.