Skip to content
Kolorvia
#402886

Color #402886

A moderately saturated dark blue.

Conversions

HEX
#402886
RGB
rgb(64, 40, 134)
HSL
hsl(255.3, 54%, 34.1%)
HSV / HSB
hsv(255.3, 70.1%, 52.5%)
CMYK
cmyk(52.2%, 70.1%, 0%, 47.5%)
LAB
lab(24.73, 35.76, -48.9)
LCH
lch(24.73, 60.58, 306.18)
OKLCH
oklch(36.7%, 0.1481, 288.63)
HWB
hwb(255.3, 15.7%, 47.5%)

Harmony colors

Complementary

#6e8628

Analogous

#283f86
#402886
#6f2886

Triadic

#402886
#864028
#288640

Split-complementary

#402886
#866f28
#3f8628

Tetradic

#402886
#86286e
#6e8628
#288640

Square

#402886
#86283f
#6e8628
#28866f

Shades

Color #402886 mixed toward black.

#352170
#2b1b59
#201443
#150d2d
#0b0716

Tints

Color #402886 mixed toward white.

#5535b1
#7152cb
#957ed8
#b8a9e5
#dcd4f2

Tones

Color #402886 mixed toward gray.

#44307e
#483876
#4b3f6e
#4f4767
#534f5f

Accessibility

Aa White text on this color
11.26:1
Aa Black text on this color
1.87:1

White text reads better on this background (11.26:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#373777 · ΔE 6.6

Deuteranopia

#383a74 · ΔE 7.9

Tritanopia

#3f6a67 · ΔE 31.6

Achromatopsia

#3b3b3b · ΔE 25.8

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #402886;
Tailwind (arbitrary value)
bg-[#402886]

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Navy #000080

Frequently asked questions

#402886 (#402886) is rgb(64, 40, 134) in RGB.

No, #402886 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #402886, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.