#5D87ED#5D87ED
#5D87ED is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.160 H 265.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5D87ED |
|---|---|
| RGB | rgb(93, 135, 237) |
| HSL | hsl(223, 80%, 65%) |
| HSV | hsv(223, 61%, 93%) |
| CMYK | cmyk(60.8%, 43%, 0%, 7.1%) |
| CIE-LAB | lab(57.82, 16.33, -55.85) |
| CIE-LCH | lch(57.82, 58.19, 286.30°) |
| OKLab | oklab(64.2% -0.013 -0.1592) |
| OKLCH | oklch(64.2% 0.16 265.3) |
| XYZ | xyz(28.4590, 25.7670, 83.5781) |
| Luminance | 0.2577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.04
Dodger Blue
#3E82FC
ΔE00 3.21
Cornflowerblue
#6495ED
ΔE00 4.41
Lightish Blue
#3D7AFD
ΔE00 4.62
Faded Blue
#658CBB
ΔE00 5.34
Clear Blue
#247AFD
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D87ED #EDC35D
analogous
#5DCFED #5D87ED #7B5DED
triadic
#5D87ED #ED5D87 #87ED5D
tetradic
#5D87ED #ED5DCF #EDC35D #5DED7B
square
#5D87ED #ED5DCF #EDC35D #5DED7B
split-complementary
#5D87ED #ED7B5D #CFED5D
monochromatic
#1545BB #265EE7 #5D87ED #94B0F3 #CBD9F9
Accessibility & contrast
On white
3.41
#5D87ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#5D87ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D87ED
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D87ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D87ED | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#4385EB
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5d87ed; /* rgb */ color: rgb(93, 135, 237); /* oklch */ color: oklch(64.2% 0.160 265.3);
Tailwind
colors: {
custom: {
50: '#97a9f3',
500: '#5d87ed',
950: '#000000',
},
}SCSS
$custom: #5d87ed; $custom-light: #97a9f3; $custom-dark: #000000;
JSON
{
"hex": "#5d87ed",
"rgb": {
"r": 93,
"g": 135,
"b": 237
},
"hsl": {
"h": 222.5,
"s": 80,
"l": 64.706
},
"oklch": {
"l": 0.64195,
"c": 0.15976,
"h": 265.3
},
"luminance": 0.2577
}Semantic roles & 50–950 ramp
primary
#5D87ED
secondary
#ECDDBA
accent
#9F09DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85