#5A71B2#5A71B2
#5A71B2 is a mid, moderate blue. Relative luminance 0.172; OKLCH L 56.0% C 0.105 H 268.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5A71B2 |
|---|---|
| RGB | rgb(90, 113, 178) |
| HSL | hsl(224, 36%, 53%) |
| HSV | hsv(224, 49%, 70%) |
| CMYK | cmyk(49.4%, 36.5%, 0%, 30.2%) |
| CIE-LAB | lab(48.51, 9.90, -37.17) |
| CIE-LCH | lch(48.51, 38.47, 284.92°) |
| OKLab | oklab(55.95% -0.0034 -0.1048) |
| OKLCH | oklch(55.95% 0.105 268.1) |
| XYZ | xyz(18.1549, 17.1971, 44.4736) |
| Luminance | 0.1720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 4.57
Cornflower Blue
#5170D7
ΔE00 5.01
Cadet Blue
#4E7496
ΔE00 6.57
Dull Blue
#49759C
ΔE00 6.73
Royal Blue
#4169E1
ΔE00 6.79
Flat Blue
#3C73A8
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A71B2 #B29B5A
analogous
#5A9DB2 #5A71B2 #6F5AB2
triadic
#5A71B2 #B25A71 #71B25A
tetradic
#5A71B2 #B25A9D #B29B5A #5AB26F
square
#5A71B2 #B25A9D #B29B5A #5AB26F
split-complementary
#5A71B2 #B26F5A #9DB25A
monochromatic
#2E3C63 #42558D #5A71B2 #8495C5 #ADB9D9
Accessibility & contrast
On white
4.73
#5A71B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#5A71B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A71B2
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A71B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A71B2 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#357F89
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5a71b2; /* rgb */ color: rgb(90, 113, 178); /* oklch */ color: oklch(56.0% 0.105 268.1);
Tailwind
colors: {
custom: {
50: '#8e99c9',
500: '#5a71b2',
950: '#000000',
},
}SCSS
$custom: #5a71b2; $custom-light: #8e99c9; $custom-dark: #000000;
JSON
{
"hex": "#5a71b2",
"rgb": {
"r": 90,
"g": 113,
"b": 178
},
"hsl": {
"h": 224.318,
"s": 36.364,
"l": 52.549
},
"oklch": {
"l": 0.55953,
"c": 0.10488,
"h": 268.1
},
"luminance": 0.17198
}Semantic roles & 50–950 ramp
primary
#5A71B2
secondary
#C7BDA1
accent
#AF5BCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0D0D13
muted
#7D7E82