#403F5F#403F5F
#403F5F is a dark, muted blue. Relative luminance 0.055; OKLCH L 38.3% C 0.054 H 285.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #403F5F |
|---|---|
| RGB | rgb(64, 63, 95) |
| HSL | hsl(242, 20%, 31%) |
| HSV | hsv(242, 34%, 37%) |
| CMYK | cmyk(32.6%, 33.7%, 0%, 62.7%) |
| CIE-LAB | lab(28.04, 8.79, -18.79) |
| CIE-LCH | lch(28.04, 20.75, 295.08°) |
| OKLab | oklab(38.3% 0.014 -0.0522) |
| OKLCH | oklch(38.3% 0.054 285) |
| XYZ | xyz(5.9569, 5.4711, 11.5664) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 8.39
Navy Blue
#1B2A4A
ΔE00 9.07
Twilight
#4E518B
ΔE00 9.71
Darkslateblue
#483D8B
ΔE00 10.60
Marine
#042E60
ΔE00 11.49
Blueberry
#464196
ΔE00 11.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403F5F #5E5F3F
analogous
#3F4E5F #403F5F #503F5F
triadic
#403F5F #5F403F #3F5F40
tetradic
#403F5F #5F3F4E #5E5F3F #3F5F50
square
#403F5F #5F3F4E #5E5F3F #3F5F50
split-complementary
#403F5F #5F503F #4E5F3F
monochromatic
#0E0E15 #27273A #403F5F #595784 #7675A3
Accessibility & contrast
On white
10.03
#403F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#403F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403F5F
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403F5F | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364360
Deuteranopia (green-blind)
#35415E
Tritanopia (blue-blind)
#38454A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #403f5f; /* rgb */ color: rgb(64, 63, 95); /* oklch */ color: oklch(38.3% 0.054 285.0);
Tailwind
colors: {
custom: {
50: '#76748c',
500: '#403f5f',
950: '#000000',
},
}SCSS
$custom: #403f5f; $custom-light: #76748c; $custom-dark: #000000;
JSON
{
"hex": "#403f5f",
"rgb": {
"r": 64,
"g": 63,
"b": 95
},
"hsl": {
"h": 241.875,
"s": 20.253,
"l": 30.98
},
"oklch": {
"l": 0.38297,
"c": 0.05407,
"h": 285
},
"luminance": 0.05471
}Semantic roles & 50–950 ramp
primary
#403F5F
secondary
#8D8F6B
accent
#BD6BBA
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D