#403CBD#403CBD
#403CBD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.8% C 0.195 H 276.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #403CBD |
|---|---|
| RGB | rgb(64, 60, 189) |
| HSL | hsl(242, 52%, 49%) |
| HSV | hsv(242, 68%, 74%) |
| CMYK | cmyk(66.1%, 68.3%, 0%, 25.9%) |
| CIE-LAB | lab(33.97, 41.64, -67.10) |
| CIE-LCH | lch(33.97, 78.97, 301.82°) |
| OKLab | oklab(44.83% 0.0219 -0.1937) |
| OKLCH | oklch(44.83% 0.195 276.5) |
| XYZ | xyz(12.9125, 7.9947, 48.9969) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.65
Blue With A Hint Of Purple
#533CC6
ΔE00 2.94
Blue Blue
#2242C7
ΔE00 3.61
Blurple
#5539CC
ΔE00 3.69
Sapphire (survey)
#2138AB
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403CBD #B9BD3C
analogous
#3C79BD #403CBD #813CBD
triadic
#403CBD #BD403C #3CBD40
tetradic
#403CBD #BD3C79 #B9BD3C #3CBD81
square
#403CBD #BD3C79 #B9BD3C #3CBD81
split-complementary
#403CBD #BD813C #79BD3C
monochromatic
#211F60 #302D8F #403CBD #6B67CF #9896DE
Accessibility & contrast
On white
8.08
#403CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#403CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403CBD
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403CBD | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #403cbd; /* rgb */ color: rgb(64, 60, 189); /* oklch */ color: oklch(44.8% 0.195 276.5);
Tailwind
colors: {
custom: {
50: '#8473d2',
500: '#403cbd',
950: '#000000',
},
}SCSS
$custom: #403cbd; $custom-light: #8473d2; $custom-dark: #000000;
JSON
{
"hex": "#403cbd",
"rgb": {
"r": 64,
"g": 60,
"b": 189
},
"hsl": {
"h": 241.86,
"s": 51.807,
"l": 48.824
},
"oklch": {
"l": 0.44827,
"c": 0.19495,
"h": 276.5
},
"luminance": 0.07996
}Semantic roles & 50–950 ramp
primary
#403CBD
secondary
#C7C98C
accent
#DB4DD7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83