#403B90#403B90
#403B90 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.136 H 281.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #403B90 |
|---|---|
| RGB | rgb(64, 59, 144) |
| HSL | hsl(244, 42%, 40%) |
| HSV | hsv(244, 59%, 56%) |
| CMYK | cmyk(55.6%, 59%, 0%, 43.5%) |
| CIE-LAB | lab(29.99, 27.21, -46.55) |
| CIE-LCH | lch(29.99, 53.92, 300.30°) |
| OKLab | oklab(40.75% 0.0263 -0.1334) |
| OKLCH | oklch(40.75% 0.136 281.1) |
| XYZ | xyz(8.7108, 6.2310, 27.1238) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.95
Darkslateblue
#483D8B
ΔE00 2.00
Sapphire (survey)
#2138AB
ΔE00 5.53
Ocean Blue
#4F42B5
ΔE00 6.18
Twilight
#4E518B
ΔE00 7.66
Rebeccapurple
#663399
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403B90 #8B903B
analogous
#3B6190 #403B90 #6A3B90
triadic
#403B90 #90403B #3B9040
tetradic
#403B90 #903B61 #8B903B #3B906A
square
#403B90 #903B61 #8B903B #3B906A
split-complementary
#403B90 #906A3B #61903B
monochromatic
#191739 #2D2965 #403B90 #5751B8 #817CC9
Accessibility & contrast
On white
9.35
#403B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#403B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403B90
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403B90 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#1B4F5F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #403b90; /* rgb */ color: rgb(64, 59, 144); /* oklch */ color: oklch(40.8% 0.136 281.1);
Tailwind
colors: {
custom: {
50: '#7c71b1',
500: '#403b90',
950: '#000000',
},
}SCSS
$custom: #403b90; $custom-light: #7c71b1; $custom-dark: #000000;
JSON
{
"hex": "#403b90",
"rgb": {
"r": 64,
"g": 59,
"b": 144
},
"hsl": {
"h": 243.529,
"s": 41.872,
"l": 39.804
},
"oklch": {
"l": 0.40753,
"c": 0.13594,
"h": 281.1
},
"luminance": 0.06232
}Semantic roles & 50–950 ramp
primary
#403B90
secondary
#AFB374
accent
#D256CA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80