#403B79#403B79
#403B79 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 39.0% C 0.102 H 284.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #403B79 |
|---|---|
| RGB | rgb(64, 59, 121) |
| HSL | hsl(245, 34%, 35%) |
| HSV | hsv(245, 51%, 47%) |
| CMYK | cmyk(47.1%, 51.2%, 0%, 52.5%) |
| CIE-LAB | lab(28.38, 19.59, -34.84) |
| CIE-LCH | lch(28.38, 39.97, 299.34°) |
| OKLab | oklab(39.03% 0.0252 -0.0989) |
| OKLCH | oklch(39.03% 0.102 284.3) |
| XYZ | xyz(7.1285, 5.5981, 18.7904) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.52
Blueberry
#464196
ΔE00 5.25
Twilight
#4E518B
ΔE00 7.09
Dusk
#4E5481
ΔE00 8.38
Sapphire (survey)
#2138AB
ΔE00 9.50
Cobalt (survey)
#1E488F
ΔE00 9.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403B79 #74793B
analogous
#3B5579 #403B79 #5F3B79
triadic
#403B79 #79403B #3B7940
tetradic
#403B79 #793B55 #74793B #3B795F
square
#403B79 #793B55 #74793B #3B795F
split-complementary
#403B79 #795F3B #55793B
monochromatic
#141327 #2A2750 #403B79 #564FA2 #7973BB
Accessibility & contrast
On white
9.91
#403B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#403B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403B79
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403B79 | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#1E4178
Tritanopia (blue-blind)
#2E4854
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #403b79; /* rgb */ color: rgb(64, 59, 121); /* oklch */ color: oklch(39.0% 0.102 284.3);
Tailwind
colors: {
custom: {
50: '#7971a0',
500: '#403b79',
950: '#000000',
},
}SCSS
$custom: #403b79; $custom-light: #7971a0; $custom-dark: #000000;
JSON
{
"hex": "#403b79",
"rgb": {
"r": 64,
"g": 59,
"b": 121
},
"hsl": {
"h": 244.839,
"s": 34.444,
"l": 35.294
},
"oklch": {
"l": 0.39035,
"c": 0.1021,
"h": 284.3
},
"luminance": 0.05598
}Semantic roles & 50–950 ramp
primary
#403B79
secondary
#A0A56B
accent
#CB5DC2
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09070F
muted
#7B7A7E