#5C87F8#5C87F8
#5C87F8 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.175 H 266.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5C87F8 |
|---|---|
| RGB | rgb(92, 135, 248) |
| HSL | hsl(223, 92%, 67%) |
| HSV | hsv(223, 63%, 97%) |
| CMYK | cmyk(62.9%, 45.6%, 0%, 2.7%) |
| CIE-LAB | lab(58.39, 19.83, -61.02) |
| CIE-LCH | lch(58.39, 64.16, 288.00°) |
| OKLab | oklab(64.83% -0.0121 -0.1744) |
| OKLCH | oklch(64.83% 0.175 266) |
| XYZ | xyz(30.0150, 26.3778, 92.2984) |
| Luminance | 0.2638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.69
Dodger Blue
#3E82FC
ΔE00 3.18
Lightish Blue
#3D7AFD
ΔE00 4.51
Cornflowerblue
#6495ED
ΔE00 4.55
Clear Blue
#247AFD
ΔE00 5.52
Cornflower
#6A79F7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C87F8 #F8CD5C
analogous
#5CD5F8 #5C87F8 #7F5CF8
triadic
#5C87F8 #F85C87 #87F85C
tetradic
#5C87F8 #F85CD5 #F8CD5C #5CF87F
square
#5C87F8 #F85CD5 #F8CD5C #5CF87F
split-complementary
#5C87F8 #F87F5C #D5F85C
monochromatic
#0940D1 #215CF5 #5C87F8 #97B2FB #D1DDFD
Accessibility & contrast
On white
3.35
#5C87F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#5C87F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C87F8
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C87F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C87F8 | 1.00 | 3.35 | 6.28 | 6.28 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#3486F6
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5c87f8; /* rgb */ color: rgb(92, 135, 248); /* oklch */ color: oklch(64.8% 0.175 266.0);
Tailwind
colors: {
custom: {
50: '#98a9fb',
500: '#5c87f8',
950: '#000000',
},
}SCSS
$custom: #5c87f8; $custom-light: #98a9fb; $custom-dark: #000000;
JSON
{
"hex": "#5c87f8",
"rgb": {
"r": 92,
"g": 135,
"b": 248
},
"hsl": {
"h": 223.462,
"s": 91.765,
"l": 66.667
},
"oklch": {
"l": 0.64828,
"c": 0.17484,
"h": 266
},
"luminance": 0.26381
}Semantic roles & 50–950 ramp
primary
#5C87F8
secondary
#F1E3BF
accent
#A600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85