#42427E#42427E
#42427E is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.0% C 0.099 H 281.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #42427E |
|---|---|
| RGB | rgb(66, 66, 126) |
| HSL | hsl(240, 31%, 38%) |
| HSV | hsv(240, 48%, 49%) |
| CMYK | cmyk(47.6%, 47.6%, 0%, 50.6%) |
| CIE-LAB | lab(30.79, 17.09, -34.12) |
| CIE-LCH | lch(30.79, 38.16, 296.61°) |
| OKLab | oklab(41% 0.0191 -0.0967) |
| OKLCH | oklch(41% 0.099 281.1) |
| XYZ | xyz(7.9597, 6.5607, 20.5815) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.84
Blueberry
#464196
ΔE00 4.69
Twilight
#4E518B
ΔE00 4.92
Dusk
#4E5481
ΔE00 6.27
Cobalt (survey)
#1E488F
ΔE00 8.15
Sapphire (survey)
#2138AB
ΔE00 9.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42427E #7E7E42
analogous
#42607E #42427E #60427E
triadic
#42427E #7E4242 #427E42
tetradic
#42427E #7E4260 #7E7E42 #427E60
square
#42427E #7E4260 #7E7E42 #427E60
split-complementary
#42427E #7E6042 #607E42
monochromatic
#18182E #2D2D56 #42427E #5757A6 #7F7FBC
Accessibility & contrast
On white
9.08
#42427E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#42427E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42427E
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42427E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42427E | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#26467D
Tritanopia (blue-blind)
#2E4F5A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #42427e; /* rgb */ color: rgb(66, 66, 126); /* oklch */ color: oklch(41.0% 0.099 281.1);
Tailwind
colors: {
custom: {
50: '#7a76a4',
500: '#42427e',
950: '#000000',
},
}SCSS
$custom: #42427e; $custom-light: #7a76a4; $custom-dark: #000000;
JSON
{
"hex": "#42427e",
"rgb": {
"r": 66,
"g": 66,
"b": 126
},
"hsl": {
"h": 240,
"s": 31.25,
"l": 37.647
},
"oklch": {
"l": 0.40999,
"c": 0.09859,
"h": 281.1
},
"luminance": 0.06561
}Semantic roles & 50–950 ramp
primary
#42427E
secondary
#A7A775
accent
#C760C7
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09080F
muted
#7B7B7F