#5979E7#5979E7
#5979E7 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.170 H 268.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5979E7 |
|---|---|
| RGB | rgb(89, 121, 231) |
| HSL | hsl(226, 75%, 63%) |
| HSV | hsv(226, 61%, 91%) |
| CMYK | cmyk(61.5%, 47.6%, 0%, 9.4%) |
| CIE-LAB | lab(53.56, 22.12, -59.33) |
| CIE-LCH | lch(53.56, 63.32, 290.44°) |
| OKLab | oklab(60.77% -0.0037 -0.1697) |
| OKLCH | oklch(60.77% 0.17 268.7) |
| XYZ | xyz(25.3761, 21.5659, 78.4112) |
| Luminance | 0.2157 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.46
Cornflower
#6A79F7
ΔE00 3.73
Cornflower Blue
#5170D7
ΔE00 3.82
Soft Blue
#6488EA
ΔE00 4.86
Clear Blue
#247AFD
ΔE00 4.87
Dodger Blue
#3E82FC
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5979E7 #E7C759
analogous
#59C0E7 #5979E7 #8059E7
triadic
#5979E7 #E75979 #79E759
tetradic
#5979E7 #E759C0 #E7C759 #59E780
square
#5979E7 #E759C0 #E7C759 #59E780
split-complementary
#5979E7 #E78059 #C0E759
monochromatic
#193AAD #244EDF #5979E7 #8EA4EF #C4CFF6
Accessibility & contrast
On white
3.95
#5979E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#5979E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5979E7
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5979E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5979E7 | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#267AE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5979e7; /* rgb */ color: rgb(89, 121, 231); /* oklch */ color: oklch(60.8% 0.170 268.7);
Tailwind
colors: {
custom: {
50: '#949fef',
500: '#5979e7',
950: '#000000',
},
}SCSS
$custom: #5979e7; $custom-light: #949fef; $custom-dark: #000000;
JSON
{
"hex": "#5979e7",
"rgb": {
"r": 89,
"g": 121,
"b": 231
},
"hsl": {
"h": 226.479,
"s": 74.737,
"l": 62.745
},
"oklch": {
"l": 0.60774,
"c": 0.16974,
"h": 268.7
},
"luminance": 0.21568
}Semantic roles & 50–950 ramp
primary
#5979E7
secondary
#E8DCB4
accent
#AA0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84