#5875EE#5875EE
#5875EE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.184 H 270.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5875EE |
|---|---|
| RGB | rgb(88, 117, 238) |
| HSL | hsl(228, 82%, 64%) |
| HSV | hsv(228, 63%, 93%) |
| CMYK | cmyk(63%, 50.8%, 0%, 6.7%) |
| CIE-LAB | lab(52.91, 26.75, -64.29) |
| CIE-LCH | lch(52.91, 69.63, 292.59°) |
| OKLab | oklab(60.41% -0.0002 -0.1844) |
| OKLCH | oklch(60.41% 0.184 270) |
| XYZ | xyz(25.8132, 20.9681, 83.5593) |
| Luminance | 0.2097 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.19
Cornflower Blue
#5170D7
ΔE00 3.66
Lightish Blue
#3D7AFD
ΔE00 3.84
Royal Blue
#4169E1
ΔE00 5.13
Clear Blue
#247AFD
ΔE00 5.40
Deep Sky Blue
#0D75F8
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5875EE #EED158
analogous
#58C0EE #5875EE #8658EE
triadic
#5875EE #EE5875 #75EE58
tetradic
#5875EE #EE58C0 #EED158 #58EE86
square
#5875EE #EE58C0 #EED158 #58EE86
split-complementary
#5875EE #EE8658 #C0EE58
monochromatic
#1333B9 #2047E8 #5875EE #90A3F4 #C7D1F9
Accessibility & contrast
On white
4.04
#5875EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#5875EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5875EE
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5875EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5875EE | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E85F2
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5875ee; /* rgb */ color: rgb(88, 117, 238); /* oklch */ color: oklch(60.4% 0.184 270.0);
Tailwind
colors: {
custom: {
50: '#959cf4',
500: '#5875ee',
950: '#000000',
},
}SCSS
$custom: #5875ee; $custom-light: #959cf4; $custom-dark: #000000;
JSON
{
"hex": "#5875ee",
"rgb": {
"r": 88,
"g": 117,
"b": 238
},
"hsl": {
"h": 228.4,
"s": 81.522,
"l": 63.922
},
"oklch": {
"l": 0.60408,
"c": 0.18436,
"h": 270
},
"luminance": 0.2097
}Semantic roles & 50–950 ramp
primary
#5875EE
secondary
#EBE1B7
accent
#B408DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85