#474381#474381
#474381 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.8% C 0.101 H 284.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #474381 |
|---|---|
| RGB | rgb(71, 67, 129) |
| HSL | hsl(244, 32%, 38%) |
| HSV | hsv(244, 48%, 51%) |
| CMYK | cmyk(45%, 48.1%, 0%, 49.4%) |
| CIE-LAB | lab(31.67, 18.72, -34.55) |
| CIE-LCH | lch(31.67, 39.30, 298.45°) |
| OKLab | oklab(41.83% 0.0245 -0.0979) |
| OKLCH | oklch(41.83% 0.101 284.1) |
| XYZ | xyz(8.5670, 6.9385, 21.6525) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.31
Blueberry
#464196
ΔE00 4.32
Twilight
#4E518B
ΔE00 4.58
Dusk
#4E5481
ΔE00 6.18
Cobalt (survey)
#1E488F
ΔE00 8.90
Ocean Blue
#4F42B5
ΔE00 9.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#474381 #7D8143
analogous
#435E81 #474381 #664381
triadic
#474381 #814743 #438147
tetradic
#474381 #81435E #7D8143 #438166
square
#474381 #81435E #7D8143 #438166
split-complementary
#474381 #816643 #5E8143
monochromatic
#1B1930 #312E59 #474381 #5E59A9 #8581BE
Accessibility & contrast
On white
8.79
#474381 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#474381 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #474381
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##474381 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##474381 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4C83
Deuteranopia (green-blind)
#284980
Tritanopia (blue-blind)
#35505C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #474381; /* rgb */ color: rgb(71, 67, 129); /* oklch */ color: oklch(41.8% 0.101 284.1);
Tailwind
colors: {
custom: {
50: '#7e77a6',
500: '#474381',
950: '#000000',
},
}SCSS
$custom: #474381; $custom-light: #7e77a6; $custom-dark: #000000;
JSON
{
"hex": "#474381",
"rgb": {
"r": 71,
"g": 67,
"b": 129
},
"hsl": {
"h": 243.871,
"s": 31.633,
"l": 38.431
},
"oklch": {
"l": 0.41831,
"c": 0.10089,
"h": 284.1
},
"luminance": 0.06939
}Semantic roles & 50–950 ramp
primary
#474381
secondary
#A5A977
accent
#C860C1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A080F
muted
#7C7B7F