Color #1b2831
A muted very dark blue.
Conversions
#1b2831
rgb(27, 40, 49)
hsl(204.5, 28.9%, 14.9%)
hsv(204.5, 44.9%, 19.2%)
cmyk(44.9%, 18.4%, 0%, 80.8%)
lab(15.34, -2.69, -7.64)
lch(15.34, 8.1, 250.6)
oklch(26.9%, 0.0245, 239.04)
hwb(204.5, 10.6%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (15.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#21212f · ΔE 9
Deuteranopia
#201f2e · ΔE 10.1
Tritanopia
#1c2d2d · ΔE 7
Achromatopsia
#262626 · ΔE 7.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1b2831;
bg-[#1b2831]
Related colors
Frequently asked questions
#1b2831 (#1b2831) is rgb(27, 40, 49) in RGB.
No, #1b2831 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 #1b2831, or check how it holds up for accessibility.