#5D87F5#5D87F5
#5D87F5 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.7% C 0.171 H 266.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5D87F5 |
|---|---|
| RGB | rgb(93, 135, 245) |
| HSL | hsl(223, 88%, 66%) |
| HSV | hsv(223, 62%, 96%) |
| CMYK | cmyk(62%, 44.9%, 0%, 3.9%) |
| CIE-LAB | lab(58.27, 18.99, -59.56) |
| CIE-LCH | lch(58.27, 62.51, 287.69°) |
| OKLab | oklab(64.69% -0.0117 -0.1701) |
| OKLCH | oklch(64.69% 0.171 266.1) |
| XYZ | xyz(29.6539, 26.2450, 89.8716) |
| Luminance | 0.2625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.39
Dodger Blue
#3E82FC
ΔE00 3.24
Cornflowerblue
#6495ED
ΔE00 4.51
Lightish Blue
#3D7AFD
ΔE00 4.55
Clear Blue
#247AFD
ΔE00 5.54
Cornflower
#6A79F7
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D87F5 #F5CB5D
analogous
#5DD3F5 #5D87F5 #7F5DF5
triadic
#5D87F5 #F55D87 #87F55D
tetradic
#5D87F5 #F55DD3 #F5CB5D #5DF57F
square
#5D87F5 #F55DD3 #F5CB5D #5DF57F
split-complementary
#5D87F5 #F57F5D #D3F55D
monochromatic
#0D41CB #235CF1 #5D87F5 #97B2F9 #D0DCFC
Accessibility & contrast
On white
3.36
#5D87F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#5D87F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D87F5
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D87F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D87F5 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5293F9
Deuteranopia (green-blind)
#3986F3
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5d87f5; /* rgb */ color: rgb(93, 135, 245); /* oklch */ color: oklch(64.7% 0.171 266.1);
Tailwind
colors: {
custom: {
50: '#98a9f9',
500: '#5d87f5',
950: '#000000',
},
}SCSS
$custom: #5d87f5; $custom-light: #98a9f9; $custom-dark: #000000;
JSON
{
"hex": "#5d87f5",
"rgb": {
"r": 93,
"g": 135,
"b": 245
},
"hsl": {
"h": 223.421,
"s": 88.372,
"l": 66.275
},
"oklch": {
"l": 0.64689,
"c": 0.17051,
"h": 266.1
},
"luminance": 0.26248
}Semantic roles & 50–950 ramp
primary
#5D87F5
secondary
#F0E2BE
accent
#A601E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85