#5976F7#5976F7
#5976F7 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.3% C 0.195 H 270.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5976F7 |
|---|---|
| RGB | rgb(89, 118, 247) |
| HSL | hsl(229, 91%, 66%) |
| HSV | hsv(229, 64%, 97%) |
| CMYK | cmyk(64%, 52.2%, 0%, 3.1%) |
| CIE-LAB | lab(53.81, 29.33, -67.85) |
| CIE-LCH | lch(53.81, 73.92, 293.38°) |
| OKLab | oklab(61.28% 0.0006 -0.1948) |
| OKLCH | oklch(61.28% 0.195 270.2) |
| XYZ | xyz(27.3811, 21.7937, 90.7413) |
| Luminance | 0.2180 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.48
Lightish Blue
#3D7AFD
ΔE00 3.69
Cornflower Blue
#5170D7
ΔE00 4.84
Clear Blue
#247AFD
ΔE00 5.45
Dodger Blue
#3E82FC
ΔE00 5.88
Soft Blue
#6488EA
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5976F7 #F7DA59
analogous
#59C5F7 #5976F7 #8B59F7
triadic
#5976F7 #F75976 #76F759
tetradic
#5976F7 #F759C5 #F7DA59 #59F78B
square
#5976F7 #F759C5 #F7DA59 #59F78B
split-complementary
#5976F7 #F78B59 #C5F759
monochromatic
#0A2DCC #1F46F4 #5976F7 #93A6FA #CED6FD
Accessibility & contrast
On white
3.92
#5976F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#5976F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5976F7
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5976F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5976F7 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2188FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#0094AB
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5976f7; /* rgb */ color: rgb(89, 118, 247); /* oklch */ color: oklch(61.3% 0.195 270.2);
Tailwind
colors: {
custom: {
50: '#979dfb',
500: '#5976f7',
950: '#000000',
},
}SCSS
$custom: #5976f7; $custom-light: #979dfb; $custom-dark: #000000;
JSON
{
"hex": "#5976f7",
"rgb": {
"r": 89,
"g": 118,
"b": 247
},
"hsl": {
"h": 228.987,
"s": 90.805,
"l": 65.882
},
"oklch": {
"l": 0.61283,
"c": 0.19481,
"h": 270.2
},
"luminance": 0.21796
}Semantic roles & 50–950 ramp
primary
#5976F7
secondary
#F0E6BC
accent
#BB00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85