#5978AE#5978AE
#5978AE is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.2% C 0.091 H 261.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5978AE |
|---|---|
| RGB | rgb(89, 120, 174) |
| HSL | hsl(218, 34%, 52%) |
| HSV | hsv(218, 49%, 68%) |
| CMYK | cmyk(48.9%, 31%, 0%, 31.8%) |
| CIE-LAB | lab(50.23, 4.16, -32.15) |
| CIE-LCH | lch(50.23, 32.42, 277.37°) |
| OKLab | oklab(57.21% -0.0142 -0.0902) |
| OKLCH | oklch(57.21% 0.091 261.1) |
| XYZ | xyz(18.4737, 18.6116, 42.6551) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dull Blue
#49759C
ΔE00 5.30
French Blue
#436BAD
ΔE00 5.30
Windows Blue
#3778BF
ΔE00 5.51
Cadet Blue
#4E7496
ΔE00 5.53
Cornflower Blue
#5170D7
ΔE00 5.55
Flat Blue
#3C73A8
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5978AE #AE8F59
analogous
#59A3AE #5978AE #6559AE
triadic
#5978AE #AE5978 #78AE59
tetradic
#5978AE #AE59A3 #AE8F59 #59AE65
square
#5978AE #AE59A3 #AE8F59 #59AE65
split-complementary
#5978AE #AE6559 #A3AE59
monochromatic
#2E405E #425C88 #5978AE #8299C2 #ABBBD6
Accessibility & contrast
On white
4.45
#5978AE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#5978AE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5978AE
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5978AE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5978AE | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#647CB0
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#35848B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #5978ae; /* rgb */ color: rgb(89, 120, 174); /* oklch */ color: oklch(57.2% 0.091 261.1);
Tailwind
colors: {
custom: {
50: '#8c9ec6',
500: '#5978ae',
950: '#000000',
},
}SCSS
$custom: #5978ae; $custom-light: #8c9ec6; $custom-dark: #000000;
JSON
{
"hex": "#5978ae",
"rgb": {
"r": 89,
"g": 120,
"b": 174
},
"hsl": {
"h": 218.118,
"s": 34.413,
"l": 51.569
},
"oklch": {
"l": 0.57211,
"c": 0.09134,
"h": 261.1
},
"luminance": 0.18613
}Semantic roles & 50–950 ramp
primary
#5978AE
secondary
#C4B69F
accent
#A35DCA
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82