#403BAC#403BAC
#403BAC is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.174 H 278.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #403BAC |
|---|---|
| RGB | rgb(64, 59, 172) |
| HSL | hsl(243, 49%, 45%) |
| HSV | hsv(243, 66%, 67%) |
| CMYK | cmyk(62.8%, 65.7%, 0%, 32.5%) |
| CIE-LAB | lab(32.25, 36.60, -59.84) |
| CIE-LCH | lch(32.25, 70.15, 301.45°) |
| OKLab | oklab(43.12% 0.0247 -0.1724) |
| OKLCH | oklch(43.12% 0.174 278.1) |
| XYZ | xyz(11.1223, 7.1956, 39.8245) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.98
Sapphire (survey)
#2138AB
ΔE00 3.44
Blueberry
#464196
ΔE00 4.19
Blue With A Hint Of Purple
#533CC6
ΔE00 4.64
Blue Blue
#2242C7
ΔE00 4.94
Blurple
#5539CC
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403BAC #A7AC3B
analogous
#3B6EAC #403BAC #783BAC
triadic
#403BAC #AC403B #3BAC40
tetradic
#403BAC #AC3B6E #A7AC3B #3BAC78
square
#403BAC #AC3B6E #A7AC3B #3BAC78
split-complementary
#403BAC #AC783B #6EAC3B
monochromatic
#1E1C51 #2F2B7E #403BAC #625DC7 #8E8AD7
Accessibility & contrast
On white
8.61
#403BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#403BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403BAC
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403BAC | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #403bac; /* rgb */ color: rgb(64, 59, 172); /* oklch */ color: oklch(43.1% 0.174 278.1);
Tailwind
colors: {
custom: {
50: '#8171c6',
500: '#403bac',
950: '#000000',
},
}SCSS
$custom: #403bac; $custom-light: #8171c6; $custom-dark: #000000;
JSON
{
"hex": "#403bac",
"rgb": {
"r": 64,
"g": 59,
"b": 172
},
"hsl": {
"h": 242.655,
"s": 48.918,
"l": 45.294
},
"oklch": {
"l": 0.43117,
"c": 0.1742,
"h": 278.1
},
"luminance": 0.07196
}Semantic roles & 50–950 ramp
primary
#403BAC
secondary
#BFC181
accent
#D84FD2
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0813
muted
#7C7B82