#5E87EB#5E87EB
#5E87EB is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.1% C 0.157 H 265.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5E87EB |
|---|---|
| RGB | rgb(94, 135, 235) |
| HSL | hsl(223, 78%, 65%) |
| HSV | hsv(223, 60%, 92%) |
| CMYK | cmyk(60%, 42.6%, 0%, 7.8%) |
| CIE-LAB | lab(57.75, 15.85, -54.84) |
| CIE-LCH | lch(57.75, 57.08, 286.12°) |
| OKLab | oklab(64.13% -0.0124 -0.1562) |
| OKLCH | oklch(64.13% 0.157 265.4) |
| XYZ | xyz(28.2703, 25.7034, 82.0526) |
| Luminance | 0.2571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 0.91
Dodger Blue
#3E82FC
ΔE00 3.37
Cornflowerblue
#6495ED
ΔE00 4.44
Lightish Blue
#3D7AFD
ΔE00 4.72
Faded Blue
#658CBB
ΔE00 5.21
Clear Blue
#247AFD
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E87EB #EBC25E
analogous
#5ECEEB #5E87EB #7C5EEB
triadic
#5E87EB #EB5E87 #87EB5E
tetradic
#5E87EB #EB5ECE #EBC25E #5EEB7C
square
#5E87EB #EB5ECE #EBC25E #5EEB7C
split-complementary
#5E87EB #EB7C5E #CEEB5E
monochromatic
#1746B8 #285EE4 #5E87EB #94B0F2 #CBD8F9
Accessibility & contrast
On white
3.42
#5E87EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#5E87EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E87EB
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E87EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E87EB | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5e87eb; /* rgb */ color: rgb(94, 135, 235); /* oklch */ color: oklch(64.1% 0.157 265.4);
Tailwind
colors: {
custom: {
50: '#97a9f2',
500: '#5e87eb',
950: '#000000',
},
}SCSS
$custom: #5e87eb; $custom-light: #97a9f2; $custom-dark: #000000;
JSON
{
"hex": "#5e87eb",
"rgb": {
"r": 94,
"g": 135,
"b": 235
},
"hsl": {
"h": 222.553,
"s": 77.901,
"l": 64.51
},
"oklch": {
"l": 0.64125,
"c": 0.15673,
"h": 265.4
},
"luminance": 0.25706
}Semantic roles & 50–950 ramp
primary
#5E87EB
secondary
#EBDDBA
accent
#9E0BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85