#403B93#403B93
#403B93 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.140 H 280.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #403B93 |
|---|---|
| RGB | rgb(64, 59, 147) |
| HSL | hsl(243, 43%, 40%) |
| HSV | hsv(243, 60%, 58%) |
| CMYK | cmyk(56.5%, 59.9%, 0%, 42.4%) |
| CIE-LAB | lab(30.22, 28.21, -48.03) |
| CIE-LCH | lch(30.22, 55.70, 300.43°) |
| OKLab | oklab(40.99% 0.0262 -0.1377) |
| OKLCH | oklch(40.99% 0.14 280.8) |
| XYZ | xyz(8.9431, 6.3239, 28.3475) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.87
Darkslateblue
#483D8B
ΔE00 2.35
Sapphire (survey)
#2138AB
ΔE00 5.12
Ocean Blue
#4F42B5
ΔE00 5.74
Twilight
#4E518B
ΔE00 7.85
Blue Blue
#2242C7
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403B93 #8E933B
analogous
#3B6293 #403B93 #6C3B93
triadic
#403B93 #93403B #3B9340
tetradic
#403B93 #933B62 #8E933B #3B936C
square
#403B93 #933B62 #8E933B #3B936C
split-complementary
#403B93 #936C3B #62933B
monochromatic
#1A183C #2D2967 #403B93 #5852B9 #827DCB
Accessibility & contrast
On white
9.27
#403B93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#403B93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403B93
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403B93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403B93 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#185061
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #403b93; /* rgb */ color: rgb(64, 59, 147); /* oklch */ color: oklch(41.0% 0.140 280.8);
Tailwind
colors: {
custom: {
50: '#7d71b3',
500: '#403b93',
950: '#000000',
},
}SCSS
$custom: #403b93; $custom-light: #7d71b3; $custom-dark: #000000;
JSON
{
"hex": "#403b93",
"rgb": {
"r": 64,
"g": 59,
"b": 147
},
"hsl": {
"h": 243.409,
"s": 42.718,
"l": 40.392
},
"oklch": {
"l": 0.40994,
"c": 0.14019,
"h": 280.8
},
"luminance": 0.06325
}Semantic roles & 50–950 ramp
primary
#403B93
secondary
#B1B575
accent
#D255CB
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80