#403D5F#403D5F
#403D5F is a dark, muted blue. Relative luminance 0.053; OKLCH L 37.8% C 0.058 H 287.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #403D5F |
|---|---|
| RGB | rgb(64, 61, 95) |
| HSL | hsl(245, 22%, 31%) |
| HSV | hsv(245, 36%, 37%) |
| CMYK | cmyk(32.6%, 35.8%, 0%, 62.7%) |
| CIE-LAB | lab(27.45, 10.13, -19.72) |
| CIE-LCH | lch(27.45, 22.16, 297.19°) |
| OKLab | oklab(37.84% 0.0172 -0.0549) |
| OKLCH | oklch(37.84% 0.058 287.4) |
| XYZ | xyz(5.8481, 5.2536, 11.5302) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 8.80
Navy Blue
#1B2A4A
ΔE00 9.09
Twilight
#4E518B
ΔE00 9.85
Darkslateblue
#483D8B
ΔE00 10.25
Marine
#042E60
ΔE00 11.46
Blueberry
#464196
ΔE00 11.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403D5F #5C5F3D
analogous
#3D4B5F #403D5F #513D5F
triadic
#403D5F #5F403D #3D5F40
tetradic
#403D5F #5F3D4B #5C5F3D #3D5F51
square
#403D5F #5F3D4B #5C5F3D #3D5F51
split-complementary
#403D5F #5F513D #4B5F3D
monochromatic
#0E0D14 #27253A #403D5F #595584 #7672A4
Accessibility & contrast
On white
10.24
#403D5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#403D5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403D5F
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403D5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403D5F | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334260
Deuteranopia (green-blind)
#33405E
Tritanopia (blue-blind)
#394349
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #403d5f; /* rgb */ color: rgb(64, 61, 95); /* oklch */ color: oklch(37.8% 0.058 287.4);
Tailwind
colors: {
custom: {
50: '#76728c',
500: '#403d5f',
950: '#000000',
},
}SCSS
$custom: #403d5f; $custom-light: #76728c; $custom-dark: #000000;
JSON
{
"hex": "#403d5f",
"rgb": {
"r": 64,
"g": 61,
"b": 95
},
"hsl": {
"h": 245.294,
"s": 21.795,
"l": 30.588
},
"oklch": {
"l": 0.37842,
"c": 0.0575,
"h": 287.4
},
"luminance": 0.05254
}Semantic roles & 50–950 ramp
primary
#403D5F
secondary
#8B8F69
accent
#BE69B7
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#08080C
muted
#7B7B7D