Color #151e34
A moderately saturated very dark blue.
Conversions
#151e34
rgb(21, 30, 52)
hsl(222.6, 42.5%, 14.3%)
hsv(222.6, 59.6%, 20.4%)
cmyk(59.6%, 42.3%, 0%, 79.6%)
lab(11.52, 3.73, -15.73)
lch(11.52, 16.17, 283.34)
oklch(23.8%, 0.0445, 266.26)
hwb(222.6, 8.2%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (16.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#191930 · ΔE 4.3
Deuteranopia
#19182f · ΔE 4.8
Tritanopia
#162c2b · ΔE 17.2
Achromatopsia
#1f1f1f · ΔE 12.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #151e34;
bg-[#151e34]
Related colors
Frequently asked questions
#151e34 (#151e34) is rgb(21, 30, 52) in RGB.
No, #151e34 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 #151e34, or check how it holds up for accessibility.