#40468E#40468E
#40468E is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.8% C 0.117 H 276.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #40468E |
|---|---|
| RGB | rgb(64, 70, 142) |
| HSL | hsl(235, 38%, 40%) |
| HSV | hsv(235, 55%, 56%) |
| CMYK | cmyk(54.9%, 50.7%, 0%, 44.3%) |
| CIE-LAB | lab(32.75, 19.32, -40.87) |
| CIE-LCH | lch(32.75, 45.21, 295.30°) |
| OKLab | oklab(42.77% 0.0136 -0.1166) |
| OKLCH | oklch(42.77% 0.117 276.6) |
| XYZ | xyz(9.1854, 7.4227, 26.5346) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.97
Darkslateblue
#483D8B
ΔE00 4.04
Twilight
#4E518B
ΔE00 4.42
Cobalt (survey)
#1E488F
ΔE00 6.06
Dusk
#4E5481
ΔE00 6.59
Sapphire (survey)
#2138AB
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40468E #8E8840
analogous
#406D8E #40468E #61408E
triadic
#40468E #8E4046 #468E40
tetradic
#40468E #8E406D #8E8840 #408E61
square
#40468E #8E406D #8E8840 #408E61
split-complementary
#40468E #8E6140 #6D8E40
monochromatic
#1A1C3A #2D3164 #40468E #585FB4 #8287C7
Accessibility & contrast
On white
8.45
#40468E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#40468E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40468E
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40468E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40468E | 1.00 | 8.45 | 2.48 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#194A8C
Tritanopia (blue-blind)
#1C5663
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #40468e; /* rgb */ color: rgb(64, 70, 142); /* oklch */ color: oklch(42.8% 0.117 276.6);
Tailwind
colors: {
custom: {
50: '#7b79af',
500: '#40468e',
950: '#000000',
},
}SCSS
$custom: #40468e; $custom-light: #7b79af; $custom-dark: #000000;
JSON
{
"hex": "#40468e",
"rgb": {
"r": 64,
"g": 70,
"b": 142
},
"hsl": {
"h": 235.385,
"s": 37.864,
"l": 40.392
},
"oklch": {
"l": 0.42774,
"c": 0.11737,
"h": 276.6
},
"luminance": 0.07423
}Semantic roles & 50–950 ramp
primary
#40468E
secondary
#B1AD79
accent
#C55ACE
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F