#5D87F2#5D87F2
#5D87F2 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.5% C 0.167 H 265.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5D87F2 |
|---|---|
| RGB | rgb(93, 135, 242) |
| HSL | hsl(223, 85%, 66%) |
| HSV | hsv(223, 62%, 95%) |
| CMYK | cmyk(61.6%, 44.2%, 0%, 5.1%) |
| CIE-LAB | lab(58.10, 17.99, -58.17) |
| CIE-LCH | lch(58.10, 60.89, 287.19°) |
| OKLab | oklab(64.5% -0.0122 -0.166) |
| OKLCH | oklch(64.5% 0.167 265.8) |
| XYZ | xyz(29.1997, 26.0633, 87.4791) |
| Luminance | 0.2607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.19
Dodger Blue
#3E82FC
ΔE00 3.20
Cornflowerblue
#6495ED
ΔE00 4.46
Lightish Blue
#3D7AFD
ΔE00 4.56
Clear Blue
#247AFD
ΔE00 5.49
Azure
#007FFF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D87F2 #F2C85D
analogous
#5DD2F2 #5D87F2 #7D5DF2
triadic
#5D87F2 #F25D87 #87F25D
tetradic
#5D87F2 #F25DD2 #F2C85D #5DF27D
square
#5D87F2 #F25DD2 #F2C85D #5DF27D
split-complementary
#5D87F2 #F27D5D #D2F25D
monochromatic
#1043C5 #245DED #5D87F2 #96B1F7 #CEDBFB
Accessibility & contrast
On white
3.38
#5D87F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#5D87F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D87F2
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D87F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D87F2 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#3D85F0
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5d87f2; /* rgb */ color: rgb(93, 135, 242); /* oklch */ color: oklch(64.5% 0.167 265.8);
Tailwind
colors: {
custom: {
50: '#97a9f7',
500: '#5d87f2',
950: '#000000',
},
}SCSS
$custom: #5d87f2; $custom-light: #97a9f7; $custom-dark: #000000;
JSON
{
"hex": "#5d87f2",
"rgb": {
"r": 93,
"g": 135,
"b": 242
},
"hsl": {
"h": 223.087,
"s": 85.143,
"l": 65.686
},
"oklch": {
"l": 0.64502,
"c": 0.1665,
"h": 265.8
},
"luminance": 0.26066
}Semantic roles & 50–950 ramp
primary
#5D87F2
secondary
#EEE0BD
accent
#A304E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85