Color #24335e
A moderately saturated dark blue.
Conversions
#24335e
rgb(36, 51, 94)
hsl(224.5, 44.6%, 25.5%)
hsv(224.5, 61.7%, 36.9%)
cmyk(61.7%, 45.7%, 0%, 63.1%)
lab(22.13, 8.58, -27.6)
lch(22.13, 28.9, 287.27)
oklch(33.2%, 0.0786, 267.52)
hwb(224.5, 14.1%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (12.28:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b56 · ΔE 4.5
Deuteranopia
#2a2954 · ΔE 5.1
Tritanopia
#254f4d · ΔE 24.2
Achromatopsia
#353535 · ΔE 18
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #24335e;
bg-[#24335e]
Related colors
Frequently asked questions
#24335e (#24335e) is rgb(36, 51, 94) in RGB.
No, #24335e 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 #24335e, or check how it holds up for accessibility.