Color #151f35
A moderately saturated very dark blue.
Conversions
#151f35
rgb(21, 31, 53)
hsl(221.3, 43.2%, 14.5%)
hsv(221.3, 60.4%, 20.8%)
cmyk(60.4%, 41.5%, 0%, 79.2%)
lab(11.93, 3.37, -15.8)
lch(11.93, 16.16, 282.04)
oklch(24.2%, 0.0448, 264.75)
hwb(221.3, 8.2%, 79.2%)
Harmony colors
Accessibility
White text reads better on this background (16.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a31 · ΔE 4.7
Deuteranopia
#191830 · ΔE 5.4
Tritanopia
#162d2c · ΔE 17.1
Achromatopsia
#1f1f1f · ΔE 12.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #151f35;
bg-[#151f35]
Related colors
Frequently asked questions
#151f35 (#151f35) is rgb(21, 31, 53) in RGB.
No, #151f35 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 #151f35, or check how it holds up for accessibility.