#5975EA#5975EA
#5975EA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.2% C 0.179 H 270.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5975EA |
|---|---|
| RGB | rgb(89, 117, 234) |
| HSL | hsl(228, 78%, 63%) |
| HSV | hsv(228, 62%, 92%) |
| CMYK | cmyk(62%, 50%, 0%, 8.2%) |
| CIE-LAB | lab(52.71, 25.57, -62.38) |
| CIE-LCH | lch(52.71, 67.42, 292.29°) |
| OKLab | oklab(60.19% 0.0004 -0.1787) |
| OKLCH | oklch(60.19% 0.179 270.1) |
| XYZ | xyz(25.3274, 20.7848, 80.5031) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.29
Cornflower
#6A79F7
ΔE00 3.39
Lightish Blue
#3D7AFD
ΔE00 4.08
Royal Blue
#4169E1
ΔE00 4.97
Clear Blue
#247AFD
ΔE00 5.55
Deep Sky Blue
#0D75F8
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5975EA #EACE59
analogous
#59BDEA #5975EA #8559EA
triadic
#5975EA #EA5975 #75EA59
tetradic
#5975EA #EA59BD #EACE59 #59EA85
square
#5975EA #EA59BD #EACE59 #59EA85
split-complementary
#5975EA #EA8559 #BDEA59
monochromatic
#1735B2 #2348E3 #5975EA #8FA2F1 #C6CFF8
Accessibility & contrast
On white
4.07
#5975EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#5975EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5975EA
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5975EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5975EA | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#0778E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5975ea; /* rgb */ color: rgb(89, 117, 234); /* oklch */ color: oklch(60.2% 0.179 270.1);
Tailwind
colors: {
custom: {
50: '#959cf1',
500: '#5975ea',
950: '#000000',
},
}SCSS
$custom: #5975ea; $custom-light: #959cf1; $custom-dark: #000000;
JSON
{
"hex": "#5975ea",
"rgb": {
"r": 89,
"g": 117,
"b": 234
},
"hsl": {
"h": 228.414,
"s": 77.54,
"l": 63.333
},
"oklch": {
"l": 0.60188,
"c": 0.17871,
"h": 270.1
},
"luminance": 0.20787
}Semantic roles & 50–950 ramp
primary
#5975EA
secondary
#E9DFB6
accent
#B20CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85