#5975E8#5975E8
#5975E8 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.176 H 270.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5975E8 |
|---|---|
| RGB | rgb(89, 117, 232) |
| HSL | hsl(228, 76%, 63%) |
| HSV | hsv(228, 62%, 91%) |
| CMYK | cmyk(61.6%, 49.6%, 0%, 9%) |
| CIE-LAB | lab(52.59, 24.90, -61.46) |
| CIE-LCH | lch(52.59, 66.31, 292.06°) |
| OKLab | oklab(60.05% 0.0002 -0.176) |
| OKLCH | oklch(60.05% 0.176 270.1) |
| XYZ | xyz(25.0417, 20.6705, 78.9984) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.08
Cornflower
#6A79F7
ΔE00 3.57
Lightish Blue
#3D7AFD
ΔE00 4.16
Royal Blue
#4169E1
ΔE00 4.87
Clear Blue
#247AFD
ΔE00 5.58
Deep Sky Blue
#0D75F8
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5975E8 #E8CC59
analogous
#59BCE8 #5975E8 #8559E8
triadic
#5975E8 #E85975 #75E859
tetradic
#5975E8 #E859BC #E8CC59 #59E885
square
#5975E8 #E859BC #E8CC59 #59E885
split-complementary
#5975E8 #E88559 #BCE859
monochromatic
#1836AE #2348E1 #5975E8 #8FA2EF #C5CEF7
Accessibility & contrast
On white
4.09
#5975E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#5975E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5975E8
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5975E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5975E8 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3684EC
Deuteranopia (green-blind)
#1277E6
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5975e8; /* rgb */ color: rgb(89, 117, 232); /* oklch */ color: oklch(60.1% 0.176 270.1);
Tailwind
colors: {
custom: {
50: '#959cf0',
500: '#5975e8',
950: '#000000',
},
}SCSS
$custom: #5975e8; $custom-light: #959cf0; $custom-dark: #000000;
JSON
{
"hex": "#5975e8",
"rgb": {
"r": 89,
"g": 117,
"b": 232
},
"hsl": {
"h": 228.252,
"s": 75.661,
"l": 62.941
},
"oklch": {
"l": 0.60052,
"c": 0.17602,
"h": 270.1
},
"luminance": 0.20673
}Semantic roles & 50–950 ramp
primary
#5975E8
secondary
#E8DEB5
accent
#B00ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85