Color #1b1237
A moderately saturated very dark blue.
Conversions
#1b1237
rgb(27, 18, 55)
hsl(254.6, 50.7%, 14.3%)
hsv(254.6, 67.3%, 21.6%)
cmyk(50.9%, 67.3%, 0%, 78.4%)
lab(8.49, 15.74, -22.69)
lch(8.49, 27.61, 304.75)
oklch(21.8%, 0.0691, 290.77)
hwb(254.6, 7.1%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (17.67:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#171731 · ΔE 5
Deuteranopia
#18192f · ΔE 6.9
Tritanopia
#1b2b2a · ΔE 23.1
Achromatopsia
#181818 · ΔE 18.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1b1237;
bg-[#1b1237]
Related colors
Frequently asked questions
#1b1237 (#1b1237) is rgb(27, 18, 55) in RGB.
No, #1b1237 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 #1b1237, or check how it holds up for accessibility.