#474271#474271
#474271 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.6% C 0.078 H 287.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #474271 |
|---|---|
| RGB | rgb(71, 66, 113) |
| HSL | hsl(246, 26%, 35%) |
| HSV | hsv(246, 42%, 44%) |
| CMYK | cmyk(37.2%, 41.6%, 0%, 55.7%) |
| CIE-LAB | lab(30.47, 14.42, -26.43) |
| CIE-LCH | lch(30.47, 30.11, 298.61°) |
| OKLab | oklab(40.62% 0.0231 -0.0742) |
| OKLCH | oklch(40.62% 0.078 287.3) |
| XYZ | xyz(7.5266, 6.4281, 16.4638) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 6.29
Dusk
#4E5481
ΔE00 6.31
Darkslateblue
#483D8B
ΔE00 6.55
Blueberry
#464196
ΔE00 7.98
Cobalt (survey)
#1E488F
ΔE00 11.12
Navy Blue
#1B2A4A
ΔE00 11.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#474271 #6C7142
analogous
#425471 #474271 #5E4271
triadic
#474271 #714742 #427147
tetradic
#474271 #714254 #6C7142 #42715E
square
#474271 #714254 #6C7142 #42715E
split-complementary
#474271 #715E42 #547142
monochromatic
#161524 #2F2B4A #474271 #5F5998 #817BB2
Accessibility & contrast
On white
9.19
#474271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#474271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #474271
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##474271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##474271 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#324670
Tritanopia (blue-blind)
#3C4B54
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #474271; /* rgb */ color: rgb(71, 66, 113); /* oklch */ color: oklch(40.6% 0.078 287.3);
Tailwind
colors: {
custom: {
50: '#7c769a',
500: '#474271',
950: '#000000',
},
}SCSS
$custom: #474271; $custom-light: #7c769a; $custom-dark: #000000;
JSON
{
"hex": "#474271",
"rgb": {
"r": 71,
"g": 66,
"b": 113
},
"hsl": {
"h": 246.383,
"s": 26.257,
"l": 35.098
},
"oklch": {
"l": 0.40621,
"c": 0.07767,
"h": 287.3
},
"luminance": 0.06428
}Semantic roles & 50–950 ramp
primary
#474271
secondary
#999D71
accent
#C365B9
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#09080E
muted
#7B7B7E