#5E87FE#5E87FE
#5E87FE is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.3% C 0.182 H 267.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5E87FE |
|---|---|
| RGB | rgb(94, 135, 254) |
| HSL | hsl(225, 99%, 68%) |
| HSV | hsv(225, 63%, 100%) |
| CMYK | cmyk(63%, 46.9%, 0%, 0.4%) |
| CIE-LAB | lab(58.85, 22.17, -63.59) |
| CIE-LCH | lch(58.85, 67.34, 289.22°) |
| OKLab | oklab(65.31% -0.0095 -0.1819) |
| OKLCH | oklch(65.31% 0.182 267) |
| XYZ | xyz(31.1633, 26.8606, 97.2890) |
| Luminance | 0.2686 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.21
Dodger Blue
#3E82FC
ΔE00 3.69
Lightish Blue
#3D7AFD
ΔE00 4.76
Cornflowerblue
#6495ED
ΔE00 4.86
Cornflower
#6A79F7
ΔE00 5.49
Clear Blue
#247AFD
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E87FE #FED55E
analogous
#5ED7FE #5E87FE #855EFE
triadic
#5E87FE #FE5E87 #87FE5E
tetradic
#5E87FE #FE5ED7 #FED55E #5EFE85
square
#5E87FE #FE5ED7 #FED55E #5EFE85
split-complementary
#5E87FE #FE855E #D7FE5E
monochromatic
#013AE0 #215AFE #5E87FE #9BB4FE #D8E2FF
Accessibility & contrast
On white
3.30
#5E87FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#5E87FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E87FE
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E87FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E87FE | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#2B87FC
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5e87fe; /* rgb */ color: rgb(94, 135, 254); /* oklch */ color: oklch(65.3% 0.182 267.0);
Tailwind
colors: {
custom: {
50: '#9aa9ff',
500: '#5e87fe',
950: '#000000',
},
}SCSS
$custom: #5e87fe; $custom-light: #9aa9ff; $custom-dark: #000000;
JSON
{
"hex": "#5e87fe",
"rgb": {
"r": 94,
"g": 135,
"b": 254
},
"hsl": {
"h": 224.625,
"s": 98.765,
"l": 68.235
},
"oklch": {
"l": 0.65313,
"c": 0.1822,
"h": 267
},
"luminance": 0.26863
}Semantic roles & 50–950 ramp
primary
#5E87FE
secondary
#F4E8C4
accent
#AB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86