#40499E#40499E
#40499E is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.137 H 274.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #40499E |
|---|---|
| RGB | rgb(64, 73, 158) |
| HSL | hsl(234, 42%, 44%) |
| HSV | hsv(234, 59%, 62%) |
| CMYK | cmyk(59.5%, 53.8%, 0%, 38%) |
| CIE-LAB | lab(34.65, 22.87, -47.54) |
| CIE-LCH | lch(34.65, 52.76, 295.69°) |
| OKLab | oklab(44.55% 0.0116 -0.1362) |
| OKLCH | oklch(44.55% 0.137 274.9) |
| XYZ | xyz(10.6664, 8.3229, 33.3855) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.37
Ocean Blue
#4F42B5
ΔE00 5.45
Darkslateblue
#483D8B
ΔE00 5.49
Twilight
#4E518B
ΔE00 5.50
Cobalt
#0047AB
ΔE00 5.75
Cobalt (survey)
#1E488F
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40499E #9E9540
analogous
#40789E #40499E #66409E
triadic
#40499E #9E4049 #499E40
tetradic
#40499E #9E4078 #9E9540 #409E66
square
#40499E #9E4078 #9E9540 #409E66
split-complementary
#40499E #9E6640 #789E40
monochromatic
#1D2147 #2E3572 #40499E #5E67BE #8990CF
Accessibility & contrast
On white
7.88
#40499E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#40499E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40499E
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40499E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40499E | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1656A1
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #40499e; /* rgb */ color: rgb(64, 73, 158); /* oklch */ color: oklch(44.5% 0.137 274.9);
Tailwind
colors: {
custom: {
50: '#7e7bbb',
500: '#40499e',
950: '#000000',
},
}SCSS
$custom: #40499e; $custom-light: #7e7bbb; $custom-dark: #000000;
JSON
{
"hex": "#40499e",
"rgb": {
"r": 64,
"g": 73,
"b": 158
},
"hsl": {
"h": 234.255,
"s": 42.342,
"l": 43.529
},
"oklch": {
"l": 0.44549,
"c": 0.13666,
"h": 274.9
},
"luminance": 0.08324
}Semantic roles & 50–950 ramp
primary
#40499E
secondary
#BAB480
accent
#C656D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81