#403C5A#403C5A
#403C5A is a dark, muted blue. Relative luminance 0.051; OKLCH L 37.3% C 0.051 H 289.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #403C5A |
|---|---|
| RGB | rgb(64, 60, 90) |
| HSL | hsl(248, 20%, 29%) |
| HSV | hsv(248, 33%, 35%) |
| CMYK | cmyk(28.9%, 33.3%, 0%, 64.7%) |
| CIE-LAB | lab(26.90, 9.34, -17.31) |
| CIE-LCH | lch(26.90, 19.67, 298.34°) |
| OKLab | oklab(37.35% 0.0173 -0.048) |
| OKLCH | oklch(37.35% 0.051 289.8) |
| XYZ | xyz(5.5752, 5.0598, 10.3538) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.21
Dusk
#4E5481
ΔE00 9.79
Twilight
#4E518B
ΔE00 11.12
Darkslateblue
#483D8B
ΔE00 11.67
Marine
#042E60
ΔE00 12.25
Marine Blue
#01386A
ΔE00 13.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403C5A #565A3C
analogous
#3C475A #403C5A #4F3C5A
triadic
#403C5A #5A403C #3C5A40
tetradic
#403C5A #5A3C47 #565A3C #3C5A4F
square
#403C5A #5A3C47 #565A3C #3C5A4F
split-complementary
#403C5A #5A4F3C #475A3C
monochromatic
#0D0C12 #262435 #403C5A #5A547F #7770A0
Accessibility & contrast
On white
10.44
#403C5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#403C5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403C5A
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403C5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403C5A | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34405B
Deuteranopia (green-blind)
#343F59
Tritanopia (blue-blind)
#3A4147
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #403c5a; /* rgb */ color: rgb(64, 60, 90); /* oklch */ color: oklch(37.3% 0.051 289.8);
Tailwind
colors: {
custom: {
50: '#757188',
500: '#403c5a',
950: '#000000',
},
}SCSS
$custom: #403c5a; $custom-light: #757188; $custom-dark: #000000;
JSON
{
"hex": "#403c5a",
"rgb": {
"r": 64,
"g": 60,
"b": 90
},
"hsl": {
"h": 248,
"s": 20,
"l": 29.412
},
"oklch": {
"l": 0.37345,
"c": 0.05098,
"h": 289.8
},
"luminance": 0.0506
}Semantic roles & 50–950 ramp
primary
#403C5A
secondary
#858A68
accent
#BD6BB2
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#08070B
muted
#7B7A7C