Color #231e4f
A moderately saturated dark blue.
Conversions
#231e4f
rgb(35, 30, 79)
hsl(246.1, 45%, 21.4%)
hsv(246.1, 62%, 31%)
cmyk(55.7%, 62%, 0%, 69%)
lab(14.68, 17.79, -29.51)
lch(14.68, 34.46, 301.08)
oklch(27.2%, 0.0868, 283.59)
hwb(246.1, 11.8%, 69%)
Harmony colors
Accessibility
White text reads better on this background (15.33:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#212147 · ΔE 3.2
Deuteranopia
#212244 · ΔE 4.5
Tritanopia
#233f3d · ΔE 25.6
Achromatopsia
#252525 · ΔE 20.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #231e4f;
bg-[#231e4f]
Related colors
Frequently asked questions
#231e4f (#231e4f) is rgb(35, 30, 79) in RGB.
No, #231e4f 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 #231e4f, or check how it holds up for accessibility.