#42408F#42408F
#42408F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.127 H 280.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #42408F |
|---|---|
| RGB | rgb(66, 64, 143) |
| HSL | hsl(242, 38%, 41%) |
| HSV | hsv(242, 55%, 56%) |
| CMYK | cmyk(53.8%, 55.2%, 0%, 43.9%) |
| CIE-LAB | lab(31.37, 24.05, -43.71) |
| CIE-LCH | lch(31.37, 49.88, 298.82°) |
| OKLab | oklab(41.8% 0.0232 -0.1249) |
| OKLCH | oklch(41.8% 0.127 280.5) |
| XYZ | xyz(9.0366, 6.8077, 26.8191) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.32
Darkslateblue
#483D8B
ΔE00 1.99
Twilight
#4E518B
ΔE00 6.07
Sapphire (survey)
#2138AB
ΔE00 6.26
Ocean Blue
#4F42B5
ΔE00 6.31
Cobalt (survey)
#1E488F
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42408F #8D8F40
analogous
#40658F #42408F #69408F
triadic
#42408F #8F4240 #408F42
tetradic
#42408F #8F4065 #8D8F40 #408F69
square
#42408F #8F4065 #8D8F40 #408F69
split-complementary
#42408F #8F6940 #658F40
monochromatic
#1B1A3A #2E2D65 #42408F #5A58B4 #8482C7
Accessibility & contrast
On white
8.89
#42408F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#42408F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42408F
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42408F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42408F | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124D92
Deuteranopia (green-blind)
#05478D
Tritanopia (blue-blind)
#215261
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #42408f; /* rgb */ color: rgb(66, 64, 143); /* oklch */ color: oklch(41.8% 0.127 280.5);
Tailwind
colors: {
custom: {
50: '#7d75b0',
500: '#42408f',
950: '#000000',
},
}SCSS
$custom: #42408f; $custom-light: #7d75b0; $custom-dark: #000000;
JSON
{
"hex": "#42408f",
"rgb": {
"r": 66,
"g": 64,
"b": 143
},
"hsl": {
"h": 241.519,
"s": 38.164,
"l": 40.588
},
"oklch": {
"l": 0.41795,
"c": 0.12704,
"h": 280.5
},
"luminance": 0.06808
}Semantic roles & 50–950 ramp
primary
#42408F
secondary
#B0B279
accent
#CE5ACB
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F