#42477F#42477F
#42477F is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.093 H 277.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #42477F |
|---|---|
| RGB | rgb(66, 71, 127) |
| HSL | hsl(235, 32%, 38%) |
| HSV | hsv(235, 48%, 50%) |
| CMYK | cmyk(48%, 44.1%, 0%, 50.2%) |
| CIE-LAB | lab(32.25, 14.12, -32.41) |
| CIE-LCH | lch(32.25, 35.35, 293.54°) |
| OKLab | oklab(42.13% 0.0125 -0.0917) |
| OKLCH | oklch(42.13% 0.093 277.8) |
| XYZ | xyz(8.3296, 7.1966, 21.0247) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.63
Dusk
#4E5481
ΔE00 4.71
Darkslateblue
#483D8B
ΔE00 5.24
Blueberry
#464196
ΔE00 5.42
Cobalt (survey)
#1E488F
ΔE00 7.25
Denim Blue
#3B5B92
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42477F #7F7A42
analogous
#42657F #42477F #5B427F
triadic
#42477F #7F4247 #477F42
tetradic
#42477F #7F4265 #7F7A42 #427F5B
square
#42477F #7F4265 #7F7A42 #427F5B
split-complementary
#42477F #7F5B42 #657F42
monochromatic
#181A2E #2D3057 #42477F #575EA7 #7F84BC
Accessibility & contrast
On white
8.61
#42477F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#42477F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42477F
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42477F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42477F | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#2C535D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #42477f; /* rgb */ color: rgb(66, 71, 127); /* oklch */ color: oklch(42.1% 0.093 277.8);
Tailwind
colors: {
custom: {
50: '#7a7aa4',
500: '#42477f',
950: '#000000',
},
}SCSS
$custom: #42477f; $custom-light: #7a7aa4; $custom-dark: #000000;
JSON
{
"hex": "#42477f",
"rgb": {
"r": 66,
"g": 71,
"b": 127
},
"hsl": {
"h": 235.082,
"s": 31.606,
"l": 37.843
},
"oklch": {
"l": 0.42132,
"c": 0.09255,
"h": 277.8
},
"luminance": 0.07197
}Semantic roles & 50–950 ramp
primary
#42477F
secondary
#A7A375
accent
#BF60C8
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F