#5E87F1#5E87F1
#5E87F1 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.5% C 0.165 H 266.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5E87F1 |
|---|---|
| RGB | rgb(94, 135, 241) |
| HSL | hsl(223, 84%, 66%) |
| HSV | hsv(223, 61%, 95%) |
| CMYK | cmyk(61%, 44%, 0%, 5.5%) |
| CIE-LAB | lab(58.09, 17.84, -57.63) |
| CIE-LCH | lch(58.09, 60.33, 287.20°) |
| OKLab | oklab(64.49% -0.0114 -0.1644) |
| OKLCH | oklch(64.49% 0.165 266) |
| XYZ | xyz(29.1518, 26.0560, 86.6951) |
| Luminance | 0.2606 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.04
Dodger Blue
#3E82FC
ΔE00 3.33
Cornflowerblue
#6495ED
ΔE00 4.48
Lightish Blue
#3D7AFD
ΔE00 4.63
Clear Blue
#247AFD
ΔE00 5.58
Faded Blue
#658CBB
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E87F1 #F1C85E
analogous
#5ED1F1 #5E87F1 #7E5EF1
triadic
#5E87F1 #F15E87 #87F15E
tetradic
#5E87F1 #F15ED1 #F1C85E #5EF17E
square
#5E87F1 #F15ED1 #F1C85E #5EF17E
split-complementary
#5E87F1 #F17E5E #D1F15E
monochromatic
#1143C4 #265DEC #5E87F1 #96B1F6 #CFDBFB
Accessibility & contrast
On white
3.38
#5E87F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#5E87F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E87F1
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E87F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E87F1 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5593F5
Deuteranopia (green-blind)
#3F85EF
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5e87f1; /* rgb */ color: rgb(94, 135, 241); /* oklch */ color: oklch(64.5% 0.165 266.0);
Tailwind
colors: {
custom: {
50: '#98a9f6',
500: '#5e87f1',
950: '#000000',
},
}SCSS
$custom: #5e87f1; $custom-light: #98a9f6; $custom-dark: #000000;
JSON
{
"hex": "#5e87f1",
"rgb": {
"r": 94,
"g": 135,
"b": 241
},
"hsl": {
"h": 223.265,
"s": 84,
"l": 65.686
},
"oklch": {
"l": 0.64492,
"c": 0.16483,
"h": 266
},
"luminance": 0.26059
}Semantic roles & 50–950 ramp
primary
#5E87F1
secondary
#EEE0BD
accent
#A305E0
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85