#42477E#42477E
#42477E is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.091 H 277.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #42477E |
|---|---|
| RGB | rgb(66, 71, 126) |
| HSL | hsl(235, 31%, 38%) |
| HSV | hsv(235, 48%, 49%) |
| CMYK | cmyk(47.6%, 43.7%, 0%, 50.6%) |
| CIE-LAB | lab(32.19, 13.79, -31.88) |
| CIE-LCH | lch(32.19, 34.73, 293.39°) |
| OKLab | oklab(42.07% 0.0123 -0.0901) |
| OKLCH | oklch(42.07% 0.091 277.8) |
| XYZ | xyz(8.2648, 7.1707, 20.6832) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.69
Dusk
#4E5481
ΔE00 4.64
Darkslateblue
#483D8B
ΔE00 5.38
Blueberry
#464196
ΔE00 5.61
Cobalt (survey)
#1E488F
ΔE00 7.35
Denim Blue
#3B5B92
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42477E #7E7942
analogous
#42657E #42477E #5B427E
triadic
#42477E #7E4247 #477E42
tetradic
#42477E #7E4265 #7E7942 #427E5B
square
#42477E #7E4265 #7E7942 #427E5B
split-complementary
#42477E #7E5B42 #657E42
monochromatic
#181A2E #2D3056 #42477E #575EA6 #7F84BC
Accessibility & contrast
On white
8.63
#42477E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#42477E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42477E
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42477E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42477E | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#2D525C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #42477e; /* rgb */ color: rgb(66, 71, 126); /* oklch */ color: oklch(42.1% 0.091 277.8);
Tailwind
colors: {
custom: {
50: '#7a7aa4',
500: '#42477e',
950: '#000000',
},
}SCSS
$custom: #42477e; $custom-light: #7a7aa4; $custom-dark: #000000;
JSON
{
"hex": "#42477e",
"rgb": {
"r": 66,
"g": 71,
"b": 126
},
"hsl": {
"h": 235,
"s": 31.25,
"l": 37.647
},
"oklch": {
"l": 0.42069,
"c": 0.09099,
"h": 277.8
},
"luminance": 0.07171
}Semantic roles & 50–950 ramp
primary
#42477E
secondary
#A7A375
accent
#BF60C7
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F