Color #331dce
A vivid, highly saturated medium blue.
Conversions
#331dce
rgb(51, 29, 206)
hsl(247.5, 75.3%, 46.1%)
hsv(247.5, 85.9%, 80.8%)
cmyk(75.2%, 85.9%, 0%, 19.2%)
lab(29.51, 61.08, -84.47)
lch(29.51, 104.24, 305.87)
oklch(42%, 0.2447, 273.59)
hwb(247.5, 11.4%, 19.2%)
Harmony colors
Accessibility
White text reads better on this background (9.51:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2bb7 · ΔE 3.7
Deuteranopia
#2c2eb0 · ΔE 4.9
Tritanopia
#32a19b · ΔE 48.2
Achromatopsia
#464646 · ΔE 31.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #331dce;
bg-[#331dce]
Related colors
Frequently asked questions
#331dce (#331dce) is rgb(51, 29, 206) in RGB.
No, #331dce 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 #331dce, or check how it holds up for accessibility.