#5979EA#5979EA
#5979EA is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.174 H 268.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5979EA |
|---|---|
| RGB | rgb(89, 121, 234) |
| HSL | hsl(227, 78%, 63%) |
| HSV | hsv(227, 62%, 92%) |
| CMYK | cmyk(62%, 48.3%, 0%, 8.2%) |
| CIE-LAB | lab(53.75, 23.12, -60.71) |
| CIE-LCH | lch(53.75, 64.97, 290.85°) |
| OKLab | oklab(60.97% -0.0034 -0.1738) |
| OKLCH | oklch(60.97% 0.174 268.9) |
| XYZ | xyz(25.8034, 21.7369, 80.6618) |
| Luminance | 0.2174 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.32
Cornflower
#6A79F7
ΔE00 3.46
Cornflower Blue
#5170D7
ΔE00 4.05
Soft Blue
#6488EA
ΔE00 4.83
Clear Blue
#247AFD
ΔE00 4.83
Dodger Blue
#3E82FC
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5979EA #EACA59
analogous
#59C1EA #5979EA #8159EA
triadic
#5979EA #EA5979 #79EA59
tetradic
#5979EA #EA59C1 #EACA59 #59EA81
square
#5979EA #EA59C1 #EACA59 #59EA81
split-complementary
#5979EA #EA8159 #C1EA59
monochromatic
#1739B2 #234DE3 #5979EA #8FA5F1 #C6D1F8
Accessibility & contrast
On white
3.93
#5979EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#5979EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5979EA
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5979EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5979EA | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#1F7AE8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5979ea; /* rgb */ color: rgb(89, 121, 234); /* oklch */ color: oklch(61.0% 0.174 268.9);
Tailwind
colors: {
custom: {
50: '#959ff1',
500: '#5979ea',
950: '#000000',
},
}SCSS
$custom: #5979ea; $custom-light: #959ff1; $custom-dark: #000000;
JSON
{
"hex": "#5979ea",
"rgb": {
"r": 89,
"g": 121,
"b": 234
},
"hsl": {
"h": 226.759,
"s": 77.54,
"l": 63.333
},
"oklch": {
"l": 0.60972,
"c": 0.1738,
"h": 268.9
},
"luminance": 0.21739
}Semantic roles & 50–950 ramp
primary
#5979EA
secondary
#E9DEB6
accent
#AC0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85