Color #1f2134
A muted very dark blue.
Conversions
#1f2134
rgb(31, 33, 52)
hsl(234.3, 25.3%, 16.3%)
hsv(234.3, 40.4%, 20.4%)
cmyk(40.4%, 36.5%, 0%, 79.6%)
lab(13.39, 4.79, -12.74)
lch(13.39, 13.61, 290.61)
oklch(25.5%, 0.0359, 278.96)
hwb(234.3, 12.2%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (15.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#202030 · ΔE 1.5
Deuteranopia
#20202f · ΔE 2
Tritanopia
#1f2d2c · ΔE 15.6
Achromatopsia
#222222 · ΔE 11
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f2134;
bg-[#1f2134]
Related colors
Frequently asked questions
#1f2134 (#1f2134) is rgb(31, 33, 52) in RGB.
No, #1f2134 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 #1f2134, or check how it holds up for accessibility.