#5D87F4#5D87F4
#5D87F4 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.6% C 0.169 H 266.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5D87F4 |
|---|---|
| RGB | rgb(93, 135, 244) |
| HSL | hsl(223, 87%, 66%) |
| HSV | hsv(223, 62%, 96%) |
| CMYK | cmyk(61.9%, 44.7%, 0%, 4.3%) |
| CIE-LAB | lab(58.21, 18.66, -59.10) |
| CIE-LCH | lch(58.21, 61.97, 287.52°) |
| OKLab | oklab(64.63% -0.0119 -0.1688) |
| OKLCH | oklch(64.63% 0.169 266) |
| XYZ | xyz(29.5017, 26.1841, 89.0698) |
| Luminance | 0.2619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.32
Dodger Blue
#3E82FC
ΔE00 3.22
Cornflowerblue
#6495ED
ΔE00 4.49
Lightish Blue
#3D7AFD
ΔE00 4.55
Clear Blue
#247AFD
ΔE00 5.53
Azure
#007FFF
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D87F4 #F4CA5D
analogous
#5DD2F4 #5D87F4 #7E5DF4
triadic
#5D87F4 #F45D87 #87F45D
tetradic
#5D87F4 #F45DD2 #F4CA5D #5DF47E
square
#5D87F4 #F45DD2 #F4CA5D #5DF47E
split-complementary
#5D87F4 #F47E5D #D2F45D
monochromatic
#0E42C9 #245DF0 #5D87F4 #96B1F8 #D0DCFC
Accessibility & contrast
On white
3.37
#5D87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#5D87F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D87F4
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D87F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D87F4 | 1.00 | 3.37 | 6.24 | 6.24 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5393F8
Deuteranopia (green-blind)
#3A86F2
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5d87f4; /* rgb */ color: rgb(93, 135, 244); /* oklch */ color: oklch(64.6% 0.169 266.0);
Tailwind
colors: {
custom: {
50: '#98a9f8',
500: '#5d87f4',
950: '#000000',
},
}SCSS
$custom: #5d87f4; $custom-light: #98a9f8; $custom-dark: #000000;
JSON
{
"hex": "#5d87f4",
"rgb": {
"r": 93,
"g": 135,
"b": 244
},
"hsl": {
"h": 223.311,
"s": 87.283,
"l": 66.078
},
"oklch": {
"l": 0.64627,
"c": 0.16918,
"h": 266
},
"luminance": 0.26187
}Semantic roles & 50–950 ramp
primary
#5D87F4
secondary
#EFE1BE
accent
#A502E4
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85