#5C87F4#5C87F4
#5C87F4 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.6% C 0.170 H 265.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5C87F4 |
|---|---|
| RGB | rgb(92, 135, 244) |
| HSL | hsl(223, 87%, 66%) |
| HSV | hsv(223, 62%, 96%) |
| CMYK | cmyk(62.3%, 44.7%, 0%, 4.3%) |
| CIE-LAB | lab(58.16, 18.49, -59.18) |
| CIE-LCH | lch(58.16, 62.00, 287.35°) |
| OKLab | oklab(64.58% -0.0127 -0.169) |
| OKLCH | oklch(64.58% 0.17 265.7) |
| XYZ | xyz(29.4011, 26.1323, 89.0650) |
| Luminance | 0.2614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.40
Dodger Blue
#3E82FC
ΔE00 3.09
Cornflowerblue
#6495ED
ΔE00 4.45
Lightish Blue
#3D7AFD
ΔE00 4.50
Clear Blue
#247AFD
ΔE00 5.43
Azure
#007FFF
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C87F4 #F4C95C
analogous
#5CD3F4 #5C87F4 #7D5CF4
triadic
#5C87F4 #F45C87 #87F45C
tetradic
#5C87F4 #F45CD3 #F4C95C #5CF47D
square
#5C87F4 #F45CD3 #F4C95C #5CF47D
split-complementary
#5C87F4 #F47D5C #D3F45C
monochromatic
#0E42C8 #235DF0 #5C87F4 #95B1F8 #CFDBFC
Accessibility & contrast
On white
3.37
#5C87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#5C87F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C87F4
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C87F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C87F4 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5393F8
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5c87f4; /* rgb */ color: rgb(92, 135, 244); /* oklch */ color: oklch(64.6% 0.170 265.7);
Tailwind
colors: {
custom: {
50: '#97a9f8',
500: '#5c87f4',
950: '#000000',
},
}SCSS
$custom: #5c87f4; $custom-light: #97a9f8; $custom-dark: #000000;
JSON
{
"hex": "#5c87f4",
"rgb": {
"r": 92,
"g": 135,
"b": 244
},
"hsl": {
"h": 223.026,
"s": 87.356,
"l": 65.882
},
"oklch": {
"l": 0.64576,
"c": 0.1695,
"h": 265.7
},
"luminance": 0.26135
}Semantic roles & 50–950 ramp
primary
#5C87F4
secondary
#EFE1BD
accent
#A402E4
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85