Color #402dde
A vivid, highly saturated medium blue.
Conversions
#402dde
rgb(64, 45, 222)
hsl(246.4, 72.8%, 52.4%)
hsv(246.4, 79.7%, 87.1%)
cmyk(71.2%, 79.7%, 0%, 12.9%)
lab(34.48, 59.84, -85.44)
lch(34.48, 104.31, 305.01)
oklch(46.2%, 0.2481, 275.34)
hwb(246.4, 17.6%, 12.9%)
Harmony colors
Accessibility
White text reads better on this background (7.93:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3938c5 · ΔE 3.8
Deuteranopia
#3a3bbf · ΔE 4.9
Tritanopia
#3faea9 · ΔE 48.8
Achromatopsia
#515151 · ΔE 31.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #402dde;
bg-[#402dde]
Related colors
Frequently asked questions
#402dde (#402dde) is rgb(64, 45, 222) in RGB.
No, #402dde 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 #402dde, or check how it holds up for accessibility.