#403B92#403B92
#403B92 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.139 H 280.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #403B92 |
|---|---|
| RGB | rgb(64, 59, 146) |
| HSL | hsl(243, 42%, 40%) |
| HSV | hsv(243, 60%, 57%) |
| CMYK | cmyk(56.2%, 59.6%, 0%, 42.7%) |
| CIE-LAB | lab(30.14, 27.88, -47.54) |
| CIE-LCH | lch(30.14, 55.11, 300.39°) |
| OKLab | oklab(40.91% 0.0263 -0.1363) |
| OKLCH | oklch(40.91% 0.139 280.9) |
| XYZ | xyz(8.8650, 6.2927, 27.9360) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.88
Darkslateblue
#483D8B
ΔE00 2.23
Sapphire (survey)
#2138AB
ΔE00 5.25
Ocean Blue
#4F42B5
ΔE00 5.89
Twilight
#4E518B
ΔE00 7.79
Rebeccapurple
#663399
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403B92 #8D923B
analogous
#3B6292 #403B92 #6B3B92
triadic
#403B92 #92403B #3B9240
tetradic
#403B92 #923B62 #8D923B #3B926B
square
#403B92 #923B62 #8D923B #3B926B
split-complementary
#403B92 #926B3B #62923B
monochromatic
#1A183B #2D2966 #403B92 #5751B9 #817DCA
Accessibility & contrast
On white
9.30
#403B92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#403B92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403B92
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403B92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403B92 | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#194F60
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #403b92; /* rgb */ color: rgb(64, 59, 146); /* oklch */ color: oklch(40.9% 0.139 280.9);
Tailwind
colors: {
custom: {
50: '#7c71b3',
500: '#403b92',
950: '#000000',
},
}SCSS
$custom: #403b92; $custom-light: #7c71b3; $custom-dark: #000000;
JSON
{
"hex": "#403b92",
"rgb": {
"r": 64,
"g": 59,
"b": 146
},
"hsl": {
"h": 243.448,
"s": 42.439,
"l": 40.196
},
"oklch": {
"l": 0.40913,
"c": 0.13879,
"h": 280.9
},
"luminance": 0.06293
}Semantic roles & 50–950 ramp
primary
#403B92
secondary
#B0B475
accent
#D256CB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80