#403B71#403B71
#403B71 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.5% C 0.090 H 285.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #403B71 |
|---|---|
| RGB | rgb(64, 59, 113) |
| HSL | hsl(246, 31%, 34%) |
| HSV | hsv(246, 48%, 44%) |
| CMYK | cmyk(43.4%, 47.8%, 0%, 55.7%) |
| CIE-LAB | lab(27.87, 17.01, -30.58) |
| CIE-LCH | lch(27.87, 34.99, 299.08°) |
| OKLab | oklab(38.49% 0.0241 -0.0865) |
| OKLCH | oklch(38.49% 0.09 285.6) |
| XYZ | xyz(6.6581, 5.4099, 16.3130) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.21
Blueberry
#464196
ΔE00 6.94
Twilight
#4E518B
ΔE00 7.51
Dusk
#4E5481
ΔE00 8.24
Navy Blue
#1B2A4A
ΔE00 9.84
Marine
#042E60
ΔE00 9.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403B71 #6C713B
analogous
#3B5171 #403B71 #5B3B71
triadic
#403B71 #71403B #3B7140
tetradic
#403B71 #713B51 #6C713B #3B715B
square
#403B71 #713B51 #6C713B #3B715B
split-complementary
#403B71 #715B3B #51713B
monochromatic
#121121 #292649 #403B71 #575099 #7871B5
Accessibility & contrast
On white
10.09
#403B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#403B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403B71
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403B71 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274373
Deuteranopia (green-blind)
#254070
Tritanopia (blue-blind)
#324650
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #403b71; /* rgb */ color: rgb(64, 59, 113); /* oklch */ color: oklch(38.5% 0.090 285.6);
Tailwind
colors: {
custom: {
50: '#78719a',
500: '#403b71',
950: '#000000',
},
}SCSS
$custom: #403b71; $custom-light: #78719a; $custom-dark: #000000;
JSON
{
"hex": "#403b71",
"rgb": {
"r": 64,
"g": 59,
"b": 113
},
"hsl": {
"h": 245.556,
"s": 31.395,
"l": 33.725
},
"oklch": {
"l": 0.38493,
"c": 0.08977,
"h": 285.6
},
"luminance": 0.0541
}Semantic roles & 50–950 ramp
primary
#403B71
secondary
#9A9F69
accent
#C860BE
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E