Color #151a27
A muted very dark blue.
Conversions
#151a27
rgb(21, 26, 39)
hsl(223.3, 30%, 11.8%)
hsv(223.3, 46.2%, 15.3%)
cmyk(46.2%, 33.3%, 0%, 84.7%)
lab(9.36, 1.87, -9.62)
lch(9.36, 9.8, 281)
oklch(21.9%, 0.0267, 267.86)
hwb(223.3, 8.2%, 84.7%)
Harmony colors
Accessibility
White text reads better on this background (17.37:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#171724 · ΔE 2.9
Deuteranopia
#171724 · ΔE 2.9
Tritanopia
#152221 · ΔE 11.9
Achromatopsia
#1a1a1a · ΔE 8.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #151a27;
bg-[#151a27]
Related colors
Frequently asked questions
#151a27 (#151a27) is rgb(21, 26, 39) in RGB.
No, #151a27 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 #151a27, or check how it holds up for accessibility.