#403F79#403F79
#403F79 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.9% C 0.096 H 281.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #403F79 |
|---|---|
| RGB | rgb(64, 63, 121) |
| HSL | hsl(241, 32%, 36%) |
| HSV | hsv(241, 48%, 47%) |
| CMYK | cmyk(47.1%, 47.9%, 0%, 52.5%) |
| CIE-LAB | lab(29.48, 16.93, -33.08) |
| CIE-LCH | lch(29.48, 37.16, 297.10°) |
| OKLab | oklab(39.87% 0.0198 -0.0938) |
| OKLCH | oklch(39.87% 0.096 281.9) |
| XYZ | xyz(7.3420, 6.0251, 18.8616) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.16
Blueberry
#464196
ΔE00 5.40
Twilight
#4E518B
ΔE00 5.95
Dusk
#4E5481
ΔE00 7.05
Cobalt (survey)
#1E488F
ΔE00 8.76
Darkish Blue
#014182
ΔE00 9.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403F79 #78793F
analogous
#3F5B79 #403F79 #5D3F79
triadic
#403F79 #79403F #3F7940
tetradic
#403F79 #793F5B #78793F #3F795D
square
#403F79 #793F5B #78793F #3F795D
split-complementary
#403F79 #795D3F #5B793F
monochromatic
#151529 #2B2A51 #403F79 #5554A1 #7A79B9
Accessibility & contrast
On white
9.52
#403F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#403F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403F79
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403F79 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#244378
Tritanopia (blue-blind)
#2D4B56
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #403f79; /* rgb */ color: rgb(64, 63, 121); /* oklch */ color: oklch(39.9% 0.096 281.9);
Tailwind
colors: {
custom: {
50: '#7874a0',
500: '#403f79',
950: '#000000',
},
}SCSS
$custom: #403f79; $custom-light: #7874a0; $custom-dark: #000000;
JSON
{
"hex": "#403f79",
"rgb": {
"r": 64,
"g": 63,
"b": 121
},
"hsl": {
"h": 241.034,
"s": 31.522,
"l": 36.078
},
"oklch": {
"l": 0.39866,
"c": 0.09584,
"h": 281.9
},
"luminance": 0.06025
}Semantic roles & 50–950 ramp
primary
#403F79
secondary
#A3A470
accent
#C860C6
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080F
muted
#7B7B7E