#403B94#403B94
#403B94 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.142 H 280.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #403B94 |
|---|---|
| RGB | rgb(64, 59, 148) |
| HSL | hsl(243, 43%, 41%) |
| HSV | hsv(243, 60%, 58%) |
| CMYK | cmyk(56.8%, 60.1%, 0%, 42%) |
| CIE-LAB | lab(30.29, 28.55, -48.51) |
| CIE-LCH | lch(30.29, 56.29, 300.47°) |
| OKLab | oklab(41.07% 0.0262 -0.1391) |
| OKLCH | oklch(41.07% 0.142 280.7) |
| XYZ | xyz(9.0219, 6.3555, 28.7626) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.87
Darkslateblue
#483D8B
ΔE00 2.48
Sapphire (survey)
#2138AB
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 5.60
Blue Blue
#2242C7
ΔE00 7.92
Twilight
#4E518B
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403B94 #8F943B
analogous
#3B6294 #403B94 #6C3B94
triadic
#403B94 #94403B #3B9440
tetradic
#403B94 #943B62 #8F943B #3B946C
square
#403B94 #943B62 #8F943B #3B946C
split-complementary
#403B94 #946C3B #62943B
monochromatic
#1A183C #2D2A68 #403B94 #5852BA #827ECC
Accessibility & contrast
On white
9.25
#403B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#403B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403B94
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403B94 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#165061
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #403b94; /* rgb */ color: rgb(64, 59, 148); /* oklch */ color: oklch(41.1% 0.142 280.7);
Tailwind
colors: {
custom: {
50: '#7d71b4',
500: '#403b94',
950: '#000000',
},
}SCSS
$custom: #403b94; $custom-light: #7d71b4; $custom-dark: #000000;
JSON
{
"hex": "#403b94",
"rgb": {
"r": 64,
"g": 59,
"b": 148
},
"hsl": {
"h": 243.371,
"s": 42.995,
"l": 40.588
},
"oklch": {
"l": 0.41074,
"c": 0.1416,
"h": 280.7
},
"luminance": 0.06356
}Semantic roles & 50–950 ramp
primary
#403B94
secondary
#B2B576
accent
#D355CC
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80