#42427B#42427B
#42427B is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.8% C 0.094 H 281.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #42427B |
|---|---|
| RGB | rgb(66, 66, 123) |
| HSL | hsl(240, 30%, 37%) |
| HSV | hsv(240, 46%, 48%) |
| CMYK | cmyk(46.3%, 46.3%, 0%, 51.8%) |
| CIE-LAB | lab(30.60, 16.12, -32.53) |
| CIE-LCH | lch(30.60, 36.31, 296.36°) |
| OKLab | oklab(40.8% 0.0186 -0.0921) |
| OKLCH | oklch(40.8% 0.094 281.4) |
| XYZ | xyz(7.7691, 6.4844, 19.5773) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.36
Twilight
#4E518B
ΔE00 5.04
Blueberry
#464196
ΔE00 5.32
Dusk
#4E5481
ΔE00 6.12
Cobalt (survey)
#1E488F
ΔE00 8.45
Darkish Blue
#014182
ΔE00 9.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42427B #7B7B42
analogous
#425F7B #42427B #5F427B
triadic
#42427B #7B4242 #427B42
tetradic
#42427B #7B425F #7B7B42 #427B5F
square
#42427B #7B425F #7B7B42 #427B5F
split-complementary
#42427B #7B5F42 #5F7B42
monochromatic
#17172B #2D2D53 #42427B #5757A3 #7E7EBA
Accessibility & contrast
On white
9.14
#42427B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#42427B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42427B
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42427B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42427B | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4A7D
Deuteranopia (green-blind)
#29467A
Tritanopia (blue-blind)
#2F4E58
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #42427b; /* rgb */ color: rgb(66, 66, 123); /* oklch */ color: oklch(40.8% 0.094 281.4);
Tailwind
colors: {
custom: {
50: '#7a76a1',
500: '#42427b',
950: '#000000',
},
}SCSS
$custom: #42427b; $custom-light: #7a76a1; $custom-dark: #000000;
JSON
{
"hex": "#42427b",
"rgb": {
"r": 66,
"g": 66,
"b": 123
},
"hsl": {
"h": 240,
"s": 30.159,
"l": 37.059
},
"oklch": {
"l": 0.40802,
"c": 0.09395,
"h": 281.4
},
"luminance": 0.06485
}Semantic roles & 50–950 ramp
primary
#42427B
secondary
#A5A574
accent
#C661C6
background
#F7F7FA
surface
#EEEDF3
border
#C9C8CD
text
#09080F
muted
#7B7B7F