#474FA1#474FA1
#474FA1 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.131 H 275.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #474FA1 |
|---|---|
| RGB | rgb(71, 79, 161) |
| HSL | hsl(235, 39%, 45%) |
| HSV | hsv(235, 56%, 63%) |
| CMYK | cmyk(55.9%, 50.9%, 0%, 36.9%) |
| CIE-LAB | lab(36.94, 21.43, -45.63) |
| CIE-LCH | lch(36.94, 50.42, 295.16°) |
| OKLab | oklab(46.46% 0.0134 -0.1303) |
| OKLCH | oklch(46.46% 0.131 275.9) |
| XYZ | xyz(11.8255, 9.5040, 34.9226) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.67
Blueberry
#464196
ΔE00 4.73
Ocean Blue
#4F42B5
ΔE00 5.95
Dusky Blue
#475F94
ΔE00 6.46
Denim Blue
#3B5B92
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#474FA1 #A19947
analogous
#477CA1 #474FA1 #6C47A1
triadic
#474FA1 #A1474F #4FA147
tetradic
#474FA1 #A1477C #A19947 #47A16C
square
#474FA1 #A1477C #A19947 #47A16C
split-complementary
#474FA1 #A16C47 #7CA147
monochromatic
#22254C #343A77 #474FA1 #6970BD #9398CF
Accessibility & contrast
On white
7.24
#474FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#474FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #474FA1
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##474FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##474FA1 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255BA4
Deuteranopia (green-blind)
#18539F
Tritanopia (blue-blind)
#186170
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #474fa1; /* rgb */ color: rgb(71, 79, 161); /* oklch */ color: oklch(46.5% 0.131 275.9);
Tailwind
colors: {
custom: {
50: '#8280bd',
500: '#474fa1',
950: '#000000',
},
}SCSS
$custom: #474fa1; $custom-light: #8280bd; $custom-dark: #000000;
JSON
{
"hex": "#474fa1",
"rgb": {
"r": 71,
"g": 79,
"b": 161
},
"hsl": {
"h": 234.667,
"s": 38.793,
"l": 45.49
},
"oklch": {
"l": 0.46464,
"c": 0.131,
"h": 275.9
},
"luminance": 0.09505
}Semantic roles & 50–950 ramp
primary
#474FA1
secondary
#BBB789
accent
#C459CF
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81