#403F77#403F77
#403F77 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.093 H 282.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #403F77 |
|---|---|
| RGB | rgb(64, 63, 119) |
| HSL | hsl(241, 31%, 36%) |
| HSV | hsv(241, 47%, 47%) |
| CMYK | cmyk(46.2%, 47.1%, 0%, 53.3%) |
| CIE-LAB | lab(29.35, 16.27, -32.02) |
| CIE-LCH | lch(29.35, 35.92, 296.94°) |
| OKLab | oklab(39.73% 0.0195 -0.0907) |
| OKLCH | oklch(39.73% 0.093 282.1) |
| XYZ | xyz(7.2207, 5.9766, 18.2223) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.55
Blueberry
#464196
ΔE00 5.83
Twilight
#4E518B
ΔE00 6.06
Dusk
#4E5481
ΔE00 6.98
Cobalt (survey)
#1E488F
ΔE00 8.98
Marine
#042E60
ΔE00 9.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403F77 #76773F
analogous
#3F5A77 #403F77 #5C3F77
triadic
#403F77 #77403F #3F7740
tetradic
#403F77 #773F5A #76773F #3F775C
square
#403F77 #773F5A #76773F #3F775C
split-complementary
#403F77 #775C3F #5A773F
monochromatic
#151527 #2A2A4F #403F77 #56549F #7A79B8
Accessibility & contrast
On white
9.57
#403F77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#403F77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403F77
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403F77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403F77 | 1.00 | 9.57 | 2.20 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294779
Deuteranopia (green-blind)
#264376
Tritanopia (blue-blind)
#2E4B55
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #403f77; /* rgb */ color: rgb(64, 63, 119); /* oklch */ color: oklch(39.7% 0.093 282.1);
Tailwind
colors: {
custom: {
50: '#78749e',
500: '#403f77',
950: '#000000',
},
}SCSS
$custom: #403f77; $custom-light: #78749e; $custom-dark: #000000;
JSON
{
"hex": "#403f77",
"rgb": {
"r": 64,
"g": 63,
"b": 119
},
"hsl": {
"h": 241.071,
"s": 30.769,
"l": 35.686
},
"oklch": {
"l": 0.39733,
"c": 0.09273,
"h": 282.1
},
"luminance": 0.05977
}Semantic roles & 50–950 ramp
primary
#403F77
secondary
#A1A26F
accent
#C761C5
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E