#5873E2#5873E2
#5873E2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.2% C 0.171 H 270.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5873E2 |
|---|---|
| RGB | rgb(88, 115, 226) |
| HSL | hsl(228, 70%, 62%) |
| HSV | hsv(228, 61%, 89%) |
| CMYK | cmyk(61.1%, 49.1%, 0%, 11.4%) |
| CIE-LAB | lab(51.64, 23.95, -59.62) |
| CIE-LCH | lch(51.64, 64.25, 291.88°) |
| OKLab | oklab(59.2% 0.0006 -0.1706) |
| OKLCH | oklch(59.2% 0.171 270.2) |
| XYZ | xyz(23.8781, 19.8252, 74.5051) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.12
Royal Blue
#4169E1
ΔE00 4.09
Cornflower
#6A79F7
ΔE00 4.41
Lightish Blue
#3D7AFD
ΔE00 4.84
Deep Sky Blue
#0D75F8
ΔE00 5.90
Cerulean Blue
#056EEE
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5873E2 #E2C758
analogous
#58B8E2 #5873E2 #8258E2
triadic
#5873E2 #E25873 #73E258
tetradic
#5873E2 #E258B8 #E2C758 #58E282
square
#5873E2 #E258B8 #E2C758 #58E282
split-complementary
#5873E2 #E28258 #B8E258
monochromatic
#1C37A3 #2548D7 #5873E2 #8C9FEB #C0CAF4
Accessibility & contrast
On white
4.23
#5873E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#5873E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5873E2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5873E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5873E2 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3882E6
Deuteranopia (green-blind)
#1975E0
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5873e2; /* rgb */ color: rgb(88, 115, 226); /* oklch */ color: oklch(59.2% 0.171 270.2);
Tailwind
colors: {
custom: {
50: '#939aec',
500: '#5873e2',
950: '#000000',
},
}SCSS
$custom: #5873e2; $custom-light: #939aec; $custom-dark: #000000;
JSON
{
"hex": "#5873e2",
"rgb": {
"r": 88,
"g": 115,
"b": 226
},
"hsl": {
"h": 228.261,
"s": 70.408,
"l": 61.569
},
"oklch": {
"l": 0.59198,
"c": 0.17065,
"h": 270.2
},
"luminance": 0.19827
}Semantic roles & 50–950 ramp
primary
#5873E2
secondary
#E5DBB1
accent
#AD13D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84