Color #152a28
A muted very dark cyan.
Conversions
#152a28
rgb(21, 42, 40)
hsl(174.3, 33.3%, 12.4%)
hsv(174.3, 50%, 16.5%)
cmyk(50%, 0%, 4.8%, 83.5%)
lab(15.32, -9.03, -1.34)
lch(15.32, 9.13, 188.44)
oklch(26.7%, 0.0274, 187.98)
hwb(174.3, 8.2%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (15.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#202028 · ΔE 13.8
Deuteranopia
#1f1d29 · ΔE 16.7
Tritanopia
#162929 · ΔE 1.6
Achromatopsia
#262626 · ΔE 10.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #152a28;
bg-[#152a28]
Related colors
Frequently asked questions
#152a28 (#152a28) is rgb(21, 42, 40) in RGB.
No, #152a28 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 #152a28, or check how it holds up for accessibility.