#40419A#40419A
#40419A is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.142 H 278.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #40419A |
|---|---|
| RGB | rgb(64, 65, 154) |
| HSL | hsl(239, 41%, 43%) |
| HSV | hsv(239, 58%, 60%) |
| CMYK | cmyk(58.4%, 57.8%, 0%, 39.6%) |
| CIE-LAB | lab(32.26, 26.70, -48.97) |
| CIE-LCH | lch(32.26, 55.78, 298.60°) |
| OKLab | oklab(42.68% 0.0199 -0.1405) |
| OKLCH | oklch(42.68% 0.142 278.1) |
| XYZ | xyz(9.8355, 7.2030, 31.4376) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.37
Darkslateblue
#483D8B
ΔE00 3.50
Sapphire (survey)
#2138AB
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 4.81
Blue Blue
#2242C7
ΔE00 6.74
Twilight
#4E518B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40419A #9A9940
analogous
#406E9A #40419A #6C409A
triadic
#40419A #9A4041 #419A40
tetradic
#40419A #9A406E #9A9940 #409A6C
square
#40419A #9A406E #9A9940 #409A6C
split-complementary
#40419A #9A6C40 #6E9A40
monochromatic
#1C1D44 #2E2F6F #40419A #5C5DBB #8788CD
Accessibility & contrast
On white
8.60
#40419A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#40419A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40419A
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40419A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40419A | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#085667
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #40419a; /* rgb */ color: rgb(64, 65, 154); /* oklch */ color: oklch(42.7% 0.142 278.1);
Tailwind
colors: {
custom: {
50: '#7d75b8',
500: '#40419a',
950: '#000000',
},
}SCSS
$custom: #40419a; $custom-light: #7d75b8; $custom-dark: #000000;
JSON
{
"hex": "#40419a",
"rgb": {
"r": 64,
"g": 65,
"b": 154
},
"hsl": {
"h": 239.333,
"s": 41.284,
"l": 42.745
},
"oklch": {
"l": 0.42678,
"c": 0.14186,
"h": 278.1
},
"luminance": 0.07204
}Semantic roles & 50–950 ramp
primary
#40419A
secondary
#B8B77E
accent
#D057D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80