#40468F#40468F
#40468F is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.8% C 0.119 H 276.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #40468F |
|---|---|
| RGB | rgb(64, 70, 143) |
| HSL | hsl(235, 38%, 41%) |
| HSV | hsv(235, 55%, 56%) |
| CMYK | cmyk(55.2%, 51%, 0%, 43.9%) |
| CIE-LAB | lab(32.82, 19.66, -41.38) |
| CIE-LCH | lch(32.82, 45.81, 295.42°) |
| OKLab | oklab(42.85% 0.0137 -0.1181) |
| OKLCH | oklch(42.85% 0.119 276.6) |
| XYZ | xyz(9.2609, 7.4529, 26.9318) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.86
Darkslateblue
#483D8B
ΔE00 4.03
Twilight
#4E518B
ΔE00 4.51
Cobalt (survey)
#1E488F
ΔE00 6.05
Dusk
#4E5481
ΔE00 6.70
Sapphire (survey)
#2138AB
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40468F #8F8940
analogous
#406D8F #40468F #61408F
triadic
#40468F #8F4046 #468F40
tetradic
#40468F #8F406D #8F8940 #408F61
square
#40468F #8F406D #8F8940 #408F61
split-complementary
#40468F #8F6140 #6D8F40
monochromatic
#1A1D3A #2D3165 #40468F #585FB4 #8287C7
Accessibility & contrast
On white
8.43
#40468F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#40468F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40468F
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40468F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40468F | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#1A5663
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #40468f; /* rgb */ color: rgb(64, 70, 143); /* oklch */ color: oklch(42.8% 0.119 276.6);
Tailwind
colors: {
custom: {
50: '#7b79b0',
500: '#40468f',
950: '#000000',
},
}SCSS
$custom: #40468f; $custom-light: #7b79b0; $custom-dark: #000000;
JSON
{
"hex": "#40468f",
"rgb": {
"r": 64,
"g": 70,
"b": 143
},
"hsl": {
"h": 235.443,
"s": 38.164,
"l": 40.588
},
"oklch": {
"l": 0.42845,
"c": 0.11886,
"h": 276.6
},
"luminance": 0.07453
}Semantic roles & 50–950 ramp
primary
#40468F
secondary
#B2AD79
accent
#C55ACE
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F