#40466B#40466B
#40466B is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.063 H 276.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #40466B |
|---|---|
| RGB | rgb(64, 70, 107) |
| HSL | hsl(232, 25%, 34%) |
| HSV | hsv(232, 40%, 42%) |
| CMYK | cmyk(40.2%, 34.6%, 0%, 58%) |
| CIE-LAB | lab(30.72, 7.80, -22.29) |
| CIE-LCH | lch(30.72, 23.62, 289.28°) |
| OKLab | oklab(40.56% 0.0068 -0.0623) |
| OKLCH | oklch(40.56% 0.063 276.2) |
| XYZ | xyz(6.9576, 6.5316, 14.8012) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 5.42
Twilight
#4E518B
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 8.74
Blueberry
#464196
ΔE00 9.44
Cobalt (survey)
#1E488F
ΔE00 9.72
Navy Blue
#1B2A4A
ΔE00 9.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40466B #6B6540
analogous
#405B6B #40466B #4F406B
triadic
#40466B #6B4046 #466B40
tetradic
#40466B #6B405B #6B6540 #406B4F
square
#40466B #6B405B #6B6540 #406B4F
split-complementary
#40466B #6B4F40 #5B6B40
monochromatic
#12141E #292D45 #40466B #575F91 #777FAE
Accessibility & contrast
On white
9.11
#40466B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#40466B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40466B
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40466B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40466B | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4A6D
Deuteranopia (green-blind)
#37476A
Tritanopia (blue-blind)
#334D53
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #40466b; /* rgb */ color: rgb(64, 70, 107); /* oklch */ color: oklch(40.6% 0.063 276.2);
Tailwind
colors: {
custom: {
50: '#767995',
500: '#40466b',
950: '#000000',
},
}SCSS
$custom: #40466b; $custom-light: #767995; $custom-dark: #000000;
JSON
{
"hex": "#40466b",
"rgb": {
"r": 64,
"g": 70,
"b": 107
},
"hsl": {
"h": 231.628,
"s": 25.146,
"l": 33.529
},
"oklch": {
"l": 0.40559,
"c": 0.06268,
"h": 276.2
},
"luminance": 0.06532
}Semantic roles & 50–950 ramp
primary
#40466B
secondary
#99936E
accent
#B566C2
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#09090D
muted
#7B7B7E