#42416B#42416B
#42416B is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.070 H 283.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #42416B |
|---|---|
| RGB | rgb(66, 65, 107) |
| HSL | hsl(241, 24%, 34%) |
| HSV | hsv(241, 39%, 42%) |
| CMYK | cmyk(38.3%, 39.3%, 0%, 58%) |
| CIE-LAB | lab(29.41, 11.72, -24.32) |
| CIE-LCH | lch(29.41, 27.00, 295.74°) |
| OKLab | oklab(39.6% 0.0167 -0.0681) |
| OKLCH | oklch(39.6% 0.07 283.8) |
| XYZ | xyz(6.7902, 6.0002, 14.7074) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 6.62
Twilight
#4E518B
ΔE00 7.11
Darkslateblue
#483D8B
ΔE00 7.70
Blueberry
#464196
ΔE00 9.00
Navy Blue
#1B2A4A
ΔE00 9.88
Marine
#042E60
ΔE00 10.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42416B #6A6B41
analogous
#41556B #42416B #57416B
triadic
#42416B #6B4241 #416B42
tetradic
#42416B #6B4155 #6A6B41 #416B57
square
#42416B #6B4155 #6A6B41 #416B57
split-complementary
#42416B #6B5741 #556B41
monochromatic
#13131F #2B2A45 #42416B #595891 #7A79AE
Accessibility & contrast
On white
9.55
#42416B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#42416B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42416B
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42416B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42416B | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#32446A
Tritanopia (blue-blind)
#374951
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #42416b; /* rgb */ color: rgb(66, 65, 107); /* oklch */ color: oklch(39.6% 0.070 283.8);
Tailwind
colors: {
custom: {
50: '#787595',
500: '#42416b',
950: '#000000',
},
}SCSS
$custom: #42416b; $custom-light: #787595; $custom-dark: #000000;
JSON
{
"hex": "#42416b",
"rgb": {
"r": 66,
"g": 65,
"b": 107
},
"hsl": {
"h": 241.429,
"s": 24.419,
"l": 33.725
},
"oklch": {
"l": 0.39599,
"c": 0.07017,
"h": 283.8
},
"luminance": 0.06
}Semantic roles & 50–950 ramp
primary
#42416B
secondary
#98996F
accent
#C167BF
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#09080D
muted
#7B7B7E