#403F76#403F76
#403F76 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.091 H 282.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #403F76 |
|---|---|
| RGB | rgb(64, 63, 118) |
| HSL | hsl(241, 30%, 35%) |
| HSV | hsv(241, 47%, 46%) |
| CMYK | cmyk(45.8%, 46.6%, 0%, 53.7%) |
| CIE-LAB | lab(29.29, 15.95, -31.49) |
| CIE-LCH | lch(29.29, 35.30, 296.86°) |
| OKLab | oklab(39.67% 0.0193 -0.0891) |
| OKLCH | oklch(39.67% 0.091 282.2) |
| XYZ | xyz(7.1609, 5.9527, 17.9077) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.75
Blueberry
#464196
ΔE00 6.05
Twilight
#4E518B
ΔE00 6.12
Dusk
#4E5481
ΔE00 6.96
Cobalt (survey)
#1E488F
ΔE00 9.10
Marine
#042E60
ΔE00 9.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403F76 #75763F
analogous
#3F5976 #403F76 #5B3F76
triadic
#403F76 #76403F #3F7640
tetradic
#403F76 #763F59 #75763F #3F765B
square
#403F76 #763F59 #75763F #3F765B
split-complementary
#403F76 #765B3F #59763F
monochromatic
#151426 #2A2A4E #403F76 #56549E #7978B7
Accessibility & contrast
On white
9.59
#403F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#403F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403F76
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403F76 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4778
Deuteranopia (green-blind)
#274375
Tritanopia (blue-blind)
#2F4A54
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #403f76; /* rgb */ color: rgb(64, 63, 118); /* oklch */ color: oklch(39.7% 0.091 282.2);
Tailwind
colors: {
custom: {
50: '#78749e',
500: '#403f76',
950: '#000000',
},
}SCSS
$custom: #403f76; $custom-light: #78749e; $custom-dark: #000000;
JSON
{
"hex": "#403f76",
"rgb": {
"r": 64,
"g": 63,
"b": 118
},
"hsl": {
"h": 241.091,
"s": 30.387,
"l": 35.49
},
"oklch": {
"l": 0.39668,
"c": 0.09117,
"h": 282.2
},
"luminance": 0.05953
}Semantic roles & 50–950 ramp
primary
#403F76
secondary
#A1A26F
accent
#C761C5
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E