#42425E#42425E
#42425E is a dark, muted blue. Relative luminance 0.059; OKLCH L 39.1% C 0.047 H 284.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #42425E |
|---|---|
| RGB | rgb(66, 66, 94) |
| HSL | hsl(240, 18%, 31%) |
| HSV | hsv(240, 30%, 37%) |
| CMYK | cmyk(29.8%, 29.8%, 0%, 63.1%) |
| CIE-LAB | lab(29.06, 7.20, -16.55) |
| CIE-LCH | lch(29.06, 18.04, 293.50°) |
| OKLab | oklab(39.12% 0.0114 -0.0458) |
| OKLCH | oklch(39.12% 0.047 284) |
| XYZ | xyz(6.2148, 5.8627, 11.3917) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 8.31
Navy Blue
#1B2A4A
ΔE00 9.72
Twilight
#4E518B
ΔE00 10.08
Darkslateblue
#483D8B
ΔE00 11.66
Marine
#042E60
ΔE00 12.37
Marine Blue
#01386A
ΔE00 12.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42425E #5E5E42
analogous
#42505E #42425E #50425E
triadic
#42425E #5E4242 #425E42
tetradic
#42425E #5E4250 #5E5E42 #425E50
square
#42425E #5E4250 #5E5E42 #425E50
split-complementary
#42425E #5E5042 #505E42
monochromatic
#101016 #29293A #42425E #5B5B82 #7979A1
Accessibility & contrast
On white
9.67
#42425E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#42425E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42425E
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42425E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42425E | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A455F
Deuteranopia (green-blind)
#39445D
Tritanopia (blue-blind)
#3B474C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #42425e; /* rgb */ color: rgb(66, 66, 94); /* oklch */ color: oklch(39.1% 0.047 284.0);
Tailwind
colors: {
custom: {
50: '#77768b',
500: '#42425e',
950: '#000000',
},
}SCSS
$custom: #42425e; $custom-light: #77768b; $custom-dark: #000000;
JSON
{
"hex": "#42425e",
"rgb": {
"r": 66,
"g": 66,
"b": 94
},
"hsl": {
"h": 240,
"s": 17.5,
"l": 31.373
},
"oklch": {
"l": 0.39118,
"c": 0.04716,
"h": 284
},
"luminance": 0.05863
}Semantic roles & 50–950 ramp
primary
#42425E
secondary
#8D8D6E
accent
#BA6EBA
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D