#403C6A#403C6A
#403C6A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.077 H 286.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #403C6A |
|---|---|
| RGB | rgb(64, 60, 106) |
| HSL | hsl(245, 28%, 33%) |
| HSV | hsv(245, 43%, 42%) |
| CMYK | cmyk(39.6%, 43.4%, 0%, 58.4%) |
| CIE-LAB | lab(27.74, 14.14, -26.32) |
| CIE-LCH | lch(27.74, 29.88, 298.24°) |
| OKLab | oklab(38.26% 0.0214 -0.074) |
| OKLCH | oklch(38.26% 0.077 286.1) |
| XYZ | xyz(6.3310, 5.3621, 14.3343) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 7.02
Twilight
#4E518B
ΔE00 8.02
Dusk
#4E5481
ΔE00 8.07
Blueberry
#464196
ΔE00 8.66
Navy Blue
#1B2A4A
ΔE00 9.39
Marine
#042E60
ΔE00 10.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403C6A #666A3C
analogous
#3C4F6A #403C6A #573C6A
triadic
#403C6A #6A403C #3C6A40
tetradic
#403C6A #6A3C4F #666A3C #3C6A57
square
#403C6A #6A3C4F #666A3C #3C6A57
split-complementary
#403C6A #6A573C #4F6A3C
monochromatic
#11101C #282643 #403C6A #585291 #7771AF
Accessibility & contrast
On white
10.13
#403C6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#403C6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403C6A
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403C6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403C6A | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D436C
Deuteranopia (green-blind)
#2C4069
Tritanopia (blue-blind)
#35454E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #403c6a; /* rgb */ color: rgb(64, 60, 106); /* oklch */ color: oklch(38.3% 0.077 286.1);
Tailwind
colors: {
custom: {
50: '#777195',
500: '#403c6a',
950: '#000000',
},
}SCSS
$custom: #403c6a; $custom-light: #777195; $custom-dark: #000000;
JSON
{
"hex": "#403c6a",
"rgb": {
"r": 64,
"g": 60,
"b": 106
},
"hsl": {
"h": 245.217,
"s": 27.711,
"l": 32.549
},
"oklch": {
"l": 0.38261,
"c": 0.07706,
"h": 286.1
},
"luminance": 0.05362
}Semantic roles & 50–950 ramp
primary
#403C6A
secondary
#959968
accent
#C464BC
background
#F7F6F9
surface
#EDECF1
border
#C8C7CB
text
#09070D
muted
#7B7A7E