Color #321e72
A moderately saturated dark blue.
Conversions
#321e72
rgb(50, 30, 114)
hsl(254.3, 58.3%, 28.2%)
hsv(254.3, 73.7%, 44.7%)
cmyk(56.1%, 73.7%, 0%, 55.3%)
lab(19.31, 32.81, -45.11)
lch(19.31, 55.78, 306.03)
oklch(31.9%, 0.1356, 286.9)
hwb(254.3, 11.8%, 55.3%)
Harmony colors
Accessibility
White text reads better on this background (13.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2a65 · ΔE 5.7
Deuteranopia
#2c2d62 · ΔE 7.1
Tritanopia
#315957 · ΔE 29.6
Achromatopsia
#2f2f2f · ΔE 25.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #321e72;
bg-[#321e72]
Related colors
Frequently asked questions
#321e72 (#321e72) is rgb(50, 30, 114) in RGB.
No, #321e72 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 #321e72, or check how it holds up for accessibility.