#5978EA#5978EA
#5978EA is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.175 H 269.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5978EA |
|---|---|
| RGB | rgb(89, 120, 234) |
| HSL | hsl(227, 78%, 63%) |
| HSV | hsv(227, 62%, 92%) |
| CMYK | cmyk(62%, 48.7%, 0%, 8.2%) |
| CIE-LAB | lab(53.49, 23.73, -61.13) |
| CIE-LCH | lch(53.49, 65.58, 291.22°) |
| OKLab | oklab(60.78% -0.0024 -0.175) |
| OKLCH | oklch(60.78% 0.175 269.2) |
| XYZ | xyz(25.6825, 21.4951, 80.6215) |
| Luminance | 0.2150 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.38
Lightish Blue
#3D7AFD
ΔE00 3.47
Cornflower Blue
#5170D7
ΔE00 3.83
Clear Blue
#247AFD
ΔE00 4.99
Soft Blue
#6488EA
ΔE00 5.16
Dodger Blue
#3E82FC
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5978EA #EACB59
analogous
#59C1EA #5978EA #8259EA
triadic
#5978EA #EA5978 #78EA59
tetradic
#5978EA #EA59C1 #EACB59 #59EA82
square
#5978EA #EA59C1 #EACB59 #59EA82
split-complementary
#5978EA #EA8259 #C1EA59
monochromatic
#1738B2 #234CE3 #5978EA #8FA4F1 #C6D0F8
Accessibility & contrast
On white
3.96
#5978EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#5978EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5978EA
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5978EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5978EA | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#1B7AE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5978ea; /* rgb */ color: rgb(89, 120, 234); /* oklch */ color: oklch(60.8% 0.175 269.2);
Tailwind
colors: {
custom: {
50: '#959ef1',
500: '#5978ea',
950: '#000000',
},
}SCSS
$custom: #5978ea; $custom-light: #959ef1; $custom-dark: #000000;
JSON
{
"hex": "#5978ea",
"rgb": {
"r": 89,
"g": 120,
"b": 234
},
"hsl": {
"h": 227.172,
"s": 77.54,
"l": 63.333
},
"oklch": {
"l": 0.60775,
"c": 0.17503,
"h": 269.2
},
"luminance": 0.21497
}Semantic roles & 50–950 ramp
primary
#5978EA
secondary
#E9DEB6
accent
#AE0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85