#42426B#42426B
#42426B is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.069 H 282.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #42426B |
|---|---|
| RGB | rgb(66, 66, 107) |
| HSL | hsl(240, 24%, 34%) |
| HSV | hsv(240, 38%, 42%) |
| CMYK | cmyk(38.3%, 38.3%, 0%, 58%) |
| CIE-LAB | lab(29.70, 11.06, -23.86) |
| CIE-LCH | lch(29.70, 26.30, 294.86°) |
| OKLab | oklab(39.82% 0.0152 -0.0668) |
| OKLCH | oklch(39.82% 0.069 282.8) |
| XYZ | xyz(6.8481, 6.1160, 14.7268) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 6.33
Twilight
#4E518B
ΔE00 6.98
Darkslateblue
#483D8B
ΔE00 7.91
Blueberry
#464196
ΔE00 9.12
Navy Blue
#1B2A4A
ΔE00 9.92
Cobalt (survey)
#1E488F
ΔE00 10.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42426B #6B6B42
analogous
#42576B #42426B #57426B
triadic
#42426B #6B4242 #426B42
tetradic
#42426B #6B4257 #6B6B42 #426B57
square
#42426B #6B4257 #6B6B42 #426B57
split-complementary
#42426B #6B5742 #576B42
monochromatic
#13131F #2B2B45 #42426B #595991 #7A7AAD
Accessibility & contrast
On white
9.45
#42426B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#42426B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42426B
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42426B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42426B | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35476D
Deuteranopia (green-blind)
#33456A
Tritanopia (blue-blind)
#374A51
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #42426b; /* rgb */ color: rgb(66, 66, 107); /* oklch */ color: oklch(39.8% 0.069 282.8);
Tailwind
colors: {
custom: {
50: '#787695',
500: '#42426b',
950: '#000000',
},
}SCSS
$custom: #42426b; $custom-light: #787695; $custom-dark: #000000;
JSON
{
"hex": "#42426b",
"rgb": {
"r": 66,
"g": 66,
"b": 107
},
"hsl": {
"h": 240,
"s": 23.699,
"l": 33.922
},
"oklch": {
"l": 0.39821,
"c": 0.06853,
"h": 282.8
},
"luminance": 0.06116
}Semantic roles & 50–950 ramp
primary
#42426B
secondary
#999970
accent
#C068C0
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#09080D
muted
#7B7B7E