#5C87F5#5C87F5
#5C87F5 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.6% C 0.171 H 265.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5C87F5 |
|---|---|
| RGB | rgb(92, 135, 245) |
| HSL | hsl(223, 88%, 66%) |
| HSV | hsv(223, 62%, 96%) |
| CMYK | cmyk(62.4%, 44.9%, 0%, 3.9%) |
| CIE-LAB | lab(58.22, 18.82, -59.64) |
| CIE-LCH | lch(58.22, 62.54, 287.51°) |
| OKLab | oklab(64.64% -0.0126 -0.1704) |
| OKLCH | oklch(64.64% 0.171 265.8) |
| XYZ | xyz(29.5534, 26.1932, 89.8669) |
| Luminance | 0.2620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.46
Dodger Blue
#3E82FC
ΔE00 3.11
Cornflowerblue
#6495ED
ΔE00 4.47
Lightish Blue
#3D7AFD
ΔE00 4.50
Clear Blue
#247AFD
ΔE00 5.45
Azure
#007FFF
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C87F5 #F5CA5C
analogous
#5CD3F5 #5C87F5 #7D5CF5
triadic
#5C87F5 #F55C87 #87F55C
tetradic
#5C87F5 #F55CD3 #F5CA5C #5CF57D
square
#5C87F5 #F55CD3 #F5CA5C #5CF57D
split-complementary
#5C87F5 #F57D5C #D3F55C
monochromatic
#0C42CA #225DF1 #5C87F5 #96B1F9 #CFDCFC
Accessibility & contrast
On white
3.37
#5C87F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#5C87F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C87F5
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C87F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C87F5 | 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)
#5293F9
Deuteranopia (green-blind)
#3885F3
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5c87f5; /* rgb */ color: rgb(92, 135, 245); /* oklch */ color: oklch(64.6% 0.171 265.8);
Tailwind
colors: {
custom: {
50: '#97a9f9',
500: '#5c87f5',
950: '#000000',
},
}SCSS
$custom: #5c87f5; $custom-light: #97a9f9; $custom-dark: #000000;
JSON
{
"hex": "#5c87f5",
"rgb": {
"r": 92,
"g": 135,
"b": 245
},
"hsl": {
"h": 223.137,
"s": 88.439,
"l": 66.078
},
"oklch": {
"l": 0.64639,
"c": 0.17084,
"h": 265.8
},
"luminance": 0.26196
}Semantic roles & 50–950 ramp
primary
#5C87F5
secondary
#F0E1BD
accent
#A500E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85