#5979ED#5979ED
#5979ED is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.178 H 269.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5979ED |
|---|---|
| RGB | rgb(89, 121, 237) |
| HSL | hsl(227, 80%, 64%) |
| HSV | hsv(227, 62%, 93%) |
| CMYK | cmyk(62.4%, 48.9%, 0%, 7.1%) |
| CIE-LAB | lab(53.93, 24.13, -62.09) |
| CIE-LCH | lch(53.93, 66.61, 291.24°) |
| OKLab | oklab(61.17% -0.003 -0.1778) |
| OKLCH | oklch(61.17% 0.178 269) |
| XYZ | xyz(26.2381, 21.9107, 82.9508) |
| Luminance | 0.2191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.20
Lightish Blue
#3D7AFD
ΔE00 3.21
Cornflower Blue
#5170D7
ΔE00 4.31
Clear Blue
#247AFD
ΔE00 4.82
Soft Blue
#6488EA
ΔE00 4.82
Dodger Blue
#3E82FC
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5979ED #EDCD59
analogous
#59C3ED #5979ED #8359ED
triadic
#5979ED #ED5979 #79ED59
tetradic
#5979ED #ED59C3 #EDCD59 #59ED83
square
#5979ED #ED59C3 #EDCD59 #59ED83
split-complementary
#5979ED #ED8359 #C3ED59
monochromatic
#1437B8 #224CE7 #5979ED #90A6F3 #C7D2F9
Accessibility & contrast
On white
3.90
#5979ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#5979ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5979ED
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5979ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5979ED | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#167BEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5979ed; /* rgb */ color: rgb(89, 121, 237); /* oklch */ color: oklch(61.2% 0.178 269.0);
Tailwind
colors: {
custom: {
50: '#959ff3',
500: '#5979ed',
950: '#000000',
},
}SCSS
$custom: #5979ed; $custom-light: #959ff3; $custom-dark: #000000;
JSON
{
"hex": "#5979ed",
"rgb": {
"r": 89,
"g": 121,
"b": 237
},
"hsl": {
"h": 227.027,
"s": 80.435,
"l": 63.922
},
"oklch": {
"l": 0.61173,
"c": 0.17785,
"h": 269
},
"luminance": 0.21913
}Semantic roles & 50–950 ramp
primary
#5979ED
secondary
#EBE0B7
accent
#AF09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85