#40496B#40496B
#40496B is a dark, muted blue. Relative luminance 0.069; OKLCH L 41.3% C 0.058 H 272.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #40496B |
|---|---|
| RGB | rgb(64, 73, 107) |
| HSL | hsl(227, 25%, 34%) |
| HSV | hsv(227, 40%, 42%) |
| CMYK | cmyk(40.2%, 31.8%, 0%, 58%) |
| CIE-LAB | lab(31.62, 5.83, -20.89) |
| CIE-LCH | lch(31.62, 21.69, 285.59°) |
| OKLab | oklab(41.26% 0.0023 -0.0583) |
| OKLCH | oklch(41.26% 0.058 272.3) |
| XYZ | xyz(7.1499, 6.9163, 14.8653) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 5.18
Twilight
#4E518B
ΔE00 6.69
Cobalt (survey)
#1E488F
ΔE00 9.31
Darkslateblue
#483D8B
ΔE00 9.37
Twilight Blue
#0A437A
ΔE00 9.44
Denim Blue
#3B5B92
ΔE00 9.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40496B #6B6240
analogous
#405E6B #40496B #4C406B
triadic
#40496B #6B4049 #496B40
tetradic
#40496B #6B405E #6B6240 #406B4C
square
#40496B #6B405E #6B6240 #406B4C
split-complementary
#40496B #6B4C40 #5E6B40
monochromatic
#12151E #292F45 #40496B #576391 #7783AE
Accessibility & contrast
On white
8.81
#40496B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#40496B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40496B
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40496B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40496B | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4C6C
Deuteranopia (green-blind)
#3A496A
Tritanopia (blue-blind)
#335055
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #40496b; /* rgb */ color: rgb(64, 73, 107); /* oklch */ color: oklch(41.3% 0.058 272.3);
Tailwind
colors: {
custom: {
50: '#767b95',
500: '#40496b',
950: '#000000',
},
}SCSS
$custom: #40496b; $custom-light: #767b95; $custom-dark: #000000;
JSON
{
"hex": "#40496b",
"rgb": {
"r": 64,
"g": 73,
"b": 107
},
"hsl": {
"h": 227.442,
"s": 25.146,
"l": 33.529
},
"oklch": {
"l": 0.41255,
"c": 0.05831,
"h": 272.3
},
"luminance": 0.06917
}Semantic roles & 50–950 ramp
primary
#40496B
secondary
#99906E
accent
#AE66C2
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#09090D
muted
#7B7B7E