Color #231d52
A moderately saturated dark blue.
Conversions
#231d52
rgb(35, 29, 82)
hsl(246.8, 47.7%, 21.8%)
hsv(246.8, 64.6%, 32.2%)
cmyk(57.3%, 64.6%, 0%, 67.8%)
lab(14.65, 19.59, -31.6)
lch(14.65, 37.18, 301.8)
oklch(27.2%, 0.0931, 283.48)
hwb(246.8, 11.4%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (15.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#212049 · ΔE 3.2
Deuteranopia
#212147 · ΔE 4.1
Tritanopia
#23413f · ΔE 26.1
Achromatopsia
#252525 · ΔE 21.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #231d52;
bg-[#231d52]
Related colors
Frequently asked questions
#231d52 (#231d52) is rgb(35, 29, 82) in RGB.
No, #231d52 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 #231d52, or check how it holds up for accessibility.