#5A6781#5A6781
#5A6781 is a mid, muted blue. Relative luminance 0.135; OKLCH L 51.3% C 0.044 H 264.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6781 |
|---|---|
| RGB | rgb(90, 103, 129) |
| HSL | hsl(220, 18%, 43%) |
| HSV | hsv(220, 30%, 51%) |
| CMYK | cmyk(30.2%, 20.2%, 0%, 49.4%) |
| CIE-LAB | lab(43.45, 1.57, -16.06) |
| CIE-LCH | lch(43.45, 16.13, 275.57°) |
| OKLab | oklab(51.29% -0.0046 -0.0441) |
| OKLCH | oklch(51.29% 0.044 264.1) |
| XYZ | xyz(13.0280, 13.4587, 22.6760) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 7.25
Denim (survey)
#3B638C
ΔE00 7.72
Slate
#516572
ΔE00 8.03
Cadet Blue
#4E7496
ΔE00 8.19
Metallic Blue
#4F738E
ΔE00 8.37
Slate Grey
#59656D
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6781 #81745A
analogous
#5A7A81 #5A6781 #605A81
triadic
#5A6781 #815A67 #67815A
tetradic
#5A6781 #815A7A #81745A #5A8160
square
#5A6781 #815A7A #81745A #5A8160
split-complementary
#5A6781 #81605A #7A815A
monochromatic
#282D39 #414A5D #5A6781 #7885A1 #9CA6BA
Accessibility & contrast
On white
5.69
#5A6781 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5A6781 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A6781
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6781 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A6781 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6982
Deuteranopia (green-blind)
#5B6580
Tritanopia (blue-blind)
#4F6C70
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5a6781; /* rgb */ color: rgb(90, 103, 129); /* oklch */ color: oklch(51.3% 0.044 264.1);
Tailwind
colors: {
custom: {
50: '#8992a5',
500: '#5a6781',
950: '#000000',
},
}SCSS
$custom: #5a6781; $custom-light: #8992a5; $custom-dark: #000000;
JSON
{
"hex": "#5a6781",
"rgb": {
"r": 90,
"g": 103,
"b": 129
},
"hsl": {
"h": 220,
"s": 17.808,
"l": 42.941
},
"oklch": {
"l": 0.51292,
"c": 0.04439,
"h": 264.1
},
"luminance": 0.13459
}Semantic roles & 50–950 ramp
primary
#5A6781
secondary
#A8A08F
accent
#A16DBA
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0B0D0F
muted
#7C7D7F