Color #1f2b48
A muted dark blue.
Conversions
#1f2b48
rgb(31, 43, 72)
hsl(222.4, 39.8%, 20.2%)
hsv(222.4, 56.9%, 28.2%)
cmyk(56.9%, 40.3%, 0%, 71.8%)
lab(17.86, 4.68, -19.68)
lch(17.86, 20.23, 283.38)
oklch(29.3%, 0.0556, 265.98)
hwb(222.4, 12.2%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (14.02:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252542 · ΔE 4.7
Deuteranopia
#242341 · ΔE 5.3
Tritanopia
#203d3c · ΔE 19.7
Achromatopsia
#2c2c2c · ΔE 14.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f2b48;
bg-[#1f2b48]
Related colors
Frequently asked questions
#1f2b48 (#1f2b48) is rgb(31, 43, 72) in RGB.
No, #1f2b48 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 #1f2b48, or check how it holds up for accessibility.