#5873F3#5873F3
#5873F3 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.4% C 0.193 H 270.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5873F3 |
|---|---|
| RGB | rgb(88, 115, 243) |
| HSL | hsl(230, 87%, 65%) |
| HSV | hsv(230, 64%, 95%) |
| CMYK | cmyk(63.8%, 52.7%, 0%, 4.7%) |
| CIE-LAB | lab(52.74, 29.66, -67.37) |
| CIE-LCH | lch(52.74, 73.61, 293.76°) |
| OKLab | oklab(60.38% 0.002 -0.1934) |
| OKLCH | oklch(60.38% 0.193 270.6) |
| XYZ | xyz(26.3274, 20.8049, 87.4050) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.06
Cornflower Blue
#5170D7
ΔE00 4.06
Lightish Blue
#3D7AFD
ΔE00 4.27
Royal Blue
#4169E1
ΔE00 5.09
Clear Blue
#247AFD
ΔE00 5.86
Deep Sky Blue
#0D75F8
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5873F3 #F3D858
analogous
#58C1F3 #5873F3 #8A58F3
triadic
#5873F3 #F35873 #73F358
tetradic
#5873F3 #F358C1 #F3D858 #58F38A
square
#5873F3 #F358C1 #F3D858 #58F38A
split-complementary
#5873F3 #F38A58 #C1F358
monochromatic
#0E2DC3 #1F43EF #5873F3 #91A3F7 #CAD3FB
Accessibility & contrast
On white
4.07
#5873F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#5873F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5873F3
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5873F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5873F3 | 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)
#1C85F7
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5873f3; /* rgb */ color: rgb(88, 115, 243); /* oklch */ color: oklch(60.4% 0.193 270.6);
Tailwind
colors: {
custom: {
50: '#969af8',
500: '#5873f3',
950: '#000000',
},
}SCSS
$custom: #5873f3; $custom-light: #969af8; $custom-dark: #000000;
JSON
{
"hex": "#5873f3",
"rgb": {
"r": 88,
"g": 115,
"b": 243
},
"hsl": {
"h": 229.548,
"s": 86.592,
"l": 64.902
},
"oklch": {
"l": 0.60377,
"c": 0.19345,
"h": 270.6
},
"luminance": 0.20807
}Semantic roles & 50–950 ramp
primary
#5873F3
secondary
#EEE5B9
accent
#BC02E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85