#403B76#403B76
#403B76 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.8% C 0.098 H 284.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #403B76 |
|---|---|
| RGB | rgb(64, 59, 118) |
| HSL | hsl(245, 33%, 35%) |
| HSV | hsv(245, 50%, 46%) |
| CMYK | cmyk(45.8%, 50%, 0%, 53.7%) |
| CIE-LAB | lab(28.18, 18.61, -33.26) |
| CIE-LCH | lch(28.18, 38.11, 299.24°) |
| OKLab | oklab(38.83% 0.0248 -0.0943) |
| OKLCH | oklch(38.83% 0.098 284.7) |
| XYZ | xyz(6.9474, 5.5256, 17.8365) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.12
Blueberry
#464196
ΔE00 5.86
Twilight
#4E518B
ΔE00 7.20
Dusk
#4E5481
ΔE00 8.29
Marine
#042E60
ΔE00 9.88
Cobalt (survey)
#1E488F
ΔE00 9.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403B76 #71763B
analogous
#3B5476 #403B76 #5E3B76
triadic
#403B76 #76403B #3B7640
tetradic
#403B76 #763B54 #71763B #3B765E
square
#403B76 #763B54 #71763B #3B765E
split-complementary
#403B76 #765E3B #54763B
monochromatic
#141224 #2A274D #403B76 #564F9F #7973B9
Accessibility & contrast
On white
9.98
#403B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#403B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403B76
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403B76 | 1.00 | 9.98 | 2.11 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#214175
Tritanopia (blue-blind)
#2F4753
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #403b76; /* rgb */ color: rgb(64, 59, 118); /* oklch */ color: oklch(38.8% 0.098 284.7);
Tailwind
colors: {
custom: {
50: '#78719e',
500: '#403b76',
950: '#000000',
},
}SCSS
$custom: #403b76; $custom-light: #78719e; $custom-dark: #000000;
JSON
{
"hex": "#403b76",
"rgb": {
"r": 64,
"g": 59,
"b": 118
},
"hsl": {
"h": 245.085,
"s": 33.333,
"l": 34.706
},
"oklch": {
"l": 0.38828,
"c": 0.09751,
"h": 284.7
},
"luminance": 0.05526
}Semantic roles & 50–950 ramp
primary
#403B76
secondary
#9EA36A
accent
#C95EC0
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E