#5976EF#5976EF
#5976EF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.184 H 270.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5976EF |
|---|---|
| RGB | rgb(89, 118, 239) |
| HSL | hsl(228, 82%, 64%) |
| HSV | hsv(228, 63%, 94%) |
| CMYK | cmyk(62.8%, 50.6%, 0%, 6.3%) |
| CIE-LAB | lab(53.29, 26.64, -64.24) |
| CIE-LCH | lch(53.29, 69.55, 292.52°) |
| OKLab | oklab(60.72% 0 -0.1842) |
| OKLCH | oklch(60.72% 0.184 270) |
| XYZ | xyz(26.1730, 21.3104, 84.3787) |
| Luminance | 0.2131 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.94
Lightish Blue
#3D7AFD
ΔE00 3.72
Cornflower Blue
#5170D7
ΔE00 3.96
Clear Blue
#247AFD
ΔE00 5.33
Royal Blue
#4169E1
ΔE00 5.49
Deep Sky Blue
#0D75F8
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5976EF #EFD259
analogous
#59C1EF #5976EF #8759EF
triadic
#5976EF #EF5976 #76EF59
tetradic
#5976EF #EF59C1 #EFD259 #59EF87
square
#5976EF #EF59C1 #EFD259 #59EF87
split-complementary
#5976EF #EF8759 #C1EF59
monochromatic
#1233BC #2148EA #5976EF #91A4F4 #C9D2FA
Accessibility & contrast
On white
3.99
#5976EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#5976EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5976EF
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5976EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5976EF | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3086F3
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5976ef; /* rgb */ color: rgb(89, 118, 239); /* oklch */ color: oklch(60.7% 0.184 270.0);
Tailwind
colors: {
custom: {
50: '#969df5',
500: '#5976ef',
950: '#000000',
},
}SCSS
$custom: #5976ef; $custom-light: #969df5; $custom-dark: #000000;
JSON
{
"hex": "#5976ef",
"rgb": {
"r": 89,
"g": 118,
"b": 239
},
"hsl": {
"h": 228.4,
"s": 82.418,
"l": 64.314
},
"oklch": {
"l": 0.60724,
"c": 0.18419,
"h": 270
},
"luminance": 0.21313
}Semantic roles & 50–950 ramp
primary
#5976EF
secondary
#ECE2B8
accent
#B507DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85