#5979F7#5979F7
#5979F7 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.191 H 269.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5979F7 |
|---|---|
| RGB | rgb(89, 121, 247) |
| HSL | hsl(228, 91%, 66%) |
| HSV | hsv(228, 64%, 97%) |
| CMYK | cmyk(64%, 51%, 0%, 3.1%) |
| CIE-LAB | lab(54.57, 27.50, -66.63) |
| CIE-LCH | lch(54.57, 72.08, 292.43°) |
| OKLab | oklab(61.86% -0.0021 -0.1912) |
| OKLCH | oklch(61.86% 0.191 269.4) |
| XYZ | xyz(27.7400, 22.5115, 90.8609) |
| Luminance | 0.2251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.59
Lightish Blue
#3D7AFD
ΔE00 3.15
Clear Blue
#247AFD
ΔE00 4.97
Soft Blue
#6488EA
ΔE00 4.97
Dodger Blue
#3E82FC
ΔE00 5.02
Cornflower Blue
#5170D7
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5979F7 #F7D759
analogous
#59C8F7 #5979F7 #8859F7
triadic
#5979F7 #F75979 #79F759
tetradic
#5979F7 #F759C8 #F7D759 #59F788
square
#5979F7 #F759C8 #F7D759 #59F788
split-complementary
#5979F7 #F78859 #C8F759
monochromatic
#0A31CC #1F4AF4 #5979F7 #93A8FA #CED7FD
Accessibility & contrast
On white
3.82
#5979F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#5979F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5979F7
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5979F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5979F7 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D8AFB
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#0097AD
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5979f7; /* rgb */ color: rgb(89, 121, 247); /* oklch */ color: oklch(61.9% 0.191 269.4);
Tailwind
colors: {
custom: {
50: '#979ffb',
500: '#5979f7',
950: '#000000',
},
}SCSS
$custom: #5979f7; $custom-light: #979ffb; $custom-dark: #000000;
JSON
{
"hex": "#5979f7",
"rgb": {
"r": 89,
"g": 121,
"b": 247
},
"hsl": {
"h": 227.848,
"s": 90.805,
"l": 65.882
},
"oklch": {
"l": 0.61855,
"c": 0.19118,
"h": 269.4
},
"luminance": 0.22514
}Semantic roles & 50–950 ramp
primary
#5979F7
secondary
#F0E5BC
accent
#B700E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85