#403C6F#403C6F
#403C6F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.085 H 285.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #403C6F |
|---|---|
| RGB | rgb(64, 60, 111) |
| HSL | hsl(245, 30%, 34%) |
| HSV | hsv(245, 46%, 44%) |
| CMYK | cmyk(42.3%, 45.9%, 0%, 56.5%) |
| CIE-LAB | lab(28.03, 15.71, -29.06) |
| CIE-LCH | lch(28.03, 33.03, 298.39°) |
| OKLab | oklab(38.57% 0.0224 -0.082) |
| OKLCH | oklch(38.57% 0.085 285.3) |
| XYZ | xyz(6.5986, 5.4692, 15.7438) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.80
Twilight
#4E518B
ΔE00 7.44
Blueberry
#464196
ΔE00 7.44
Dusk
#4E5481
ΔE00 7.92
Navy Blue
#1B2A4A
ΔE00 9.68
Marine
#042E60
ΔE00 10.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403C6F #6B6F3C
analogous
#3C516F #403C6F #593C6F
triadic
#403C6F #6F403C #3C6F40
tetradic
#403C6F #6F3C51 #6B6F3C #3C6F59
square
#403C6F #6F3C51 #6B6F3C #3C6F59
split-complementary
#403C6F #6F593C #516F3C
monochromatic
#121120 #292747 #403C6F #575197 #7772B3
Accessibility & contrast
On white
10.03
#403C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#403C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403C6F
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403C6F | 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)
#2A4471
Deuteranopia (green-blind)
#28416E
Tritanopia (blue-blind)
#324650
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #403c6f; /* rgb */ color: rgb(64, 60, 111); /* oklch */ color: oklch(38.6% 0.085 285.3);
Tailwind
colors: {
custom: {
50: '#777198',
500: '#403c6f',
950: '#000000',
},
}SCSS
$custom: #403c6f; $custom-light: #777198; $custom-dark: #000000;
JSON
{
"hex": "#403c6f",
"rgb": {
"r": 64,
"g": 60,
"b": 111
},
"hsl": {
"h": 244.706,
"s": 29.825,
"l": 33.529
},
"oklch": {
"l": 0.38575,
"c": 0.08499,
"h": 285.3
},
"luminance": 0.05469
}Semantic roles & 50–950 ramp
primary
#403C6F
secondary
#999D6A
accent
#C662BE
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E