#403E96#403E96
#403E96 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.140 H 279.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #403E96 |
|---|---|
| RGB | rgb(64, 62, 150) |
| HSL | hsl(241, 42%, 42%) |
| HSV | hsv(241, 59%, 59%) |
| CMYK | cmyk(57.3%, 58.7%, 0%, 41.2%) |
| CIE-LAB | lab(31.20, 27.29, -48.26) |
| CIE-LCH | lch(31.20, 55.44, 299.48°) |
| OKLab | oklab(41.79% 0.023 -0.1384) |
| OKLCH | oklch(41.79% 0.14 279.4) |
| XYZ | xyz(9.3403, 6.7366, 29.6564) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.25
Darkslateblue
#483D8B
ΔE00 2.73
Sapphire (survey)
#2138AB
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 5.27
Twilight
#4E518B
ΔE00 7.23
Blue Blue
#2242C7
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403E96 #94963E
analogous
#3E6896 #403E96 #6C3E96
triadic
#403E96 #96403E #3E9640
tetradic
#403E96 #963E68 #94963E #3E966C
square
#403E96 #963E68 #94963E #3E966C
split-complementary
#403E96 #966C3E #68963E
monochromatic
#1B1A3F #2E2C6B #403E96 #5A57BA #8483CC
Accessibility & contrast
On white
8.95
#403E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#403E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403E96
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403E96 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#125364
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #403e96; /* rgb */ color: rgb(64, 62, 150); /* oklch */ color: oklch(41.8% 0.140 279.4);
Tailwind
colors: {
custom: {
50: '#7d73b6',
500: '#403e96',
950: '#000000',
},
}SCSS
$custom: #403e96; $custom-light: #7d73b6; $custom-dark: #000000;
JSON
{
"hex": "#403e96",
"rgb": {
"r": 64,
"g": 62,
"b": 150
},
"hsl": {
"h": 241.364,
"s": 41.509,
"l": 41.569
},
"oklch": {
"l": 0.41793,
"c": 0.1403,
"h": 279.4
},
"luminance": 0.06737
}Semantic roles & 50–950 ramp
primary
#403E96
secondary
#B4B67A
accent
#D156CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80