Color #1b1337
A moderately saturated very dark blue.
Conversions
#1b1337
rgb(27, 19, 55)
hsl(253.3, 48.6%, 14.5%)
hsv(253.3, 65.5%, 21.6%)
cmyk(50.9%, 65.5%, 0%, 78.4%)
lab(8.78, 15.01, -22.23)
lch(8.78, 26.82, 304.03)
oklch(22%, 0.0673, 289.97)
hwb(253.3, 7.5%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (17.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#181831 · ΔE 5
Deuteranopia
#18192f · ΔE 6.5
Tritanopia
#1b2b2a · ΔE 23
Achromatopsia
#191919 · ΔE 18.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1b1337;
bg-[#1b1337]
Related colors
Frequently asked questions
#1b1337 (#1b1337) is rgb(27, 19, 55) in RGB.
No, #1b1337 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 #1b1337, or check how it holds up for accessibility.