Color #231f31
A muted very dark blue.
Conversions
#231f31
rgb(35, 31, 49)
hsl(253.3, 22.5%, 15.7%)
hsv(253.3, 36.7%, 19.2%)
cmyk(28.6%, 36.7%, 0%, 80.8%)
lab(12.98, 6.8, -11.2)
lch(12.98, 13.1, 301.26)
oklch(25.2%, 0.0339, 294)
hwb(253.3, 12.2%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (16.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#21212d · ΔE 4.1
Deuteranopia
#22222c · ΔE 5.2
Tritanopia
#232a29 · ΔE 14.7
Achromatopsia
#212121 · ΔE 11.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #231f31;
bg-[#231f31]
Related colors
Frequently asked questions
#231f31 (#231f31) is rgb(35, 31, 49) in RGB.
No, #231f31 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 #231f31, or check how it holds up for accessibility.