#5D87FA#5D87FA
#5D87FA is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.0% C 0.177 H 266.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5D87FA |
|---|---|
| RGB | rgb(93, 135, 250) |
| HSL | hsl(224, 94%, 67%) |
| HSV | hsv(224, 63%, 98%) |
| CMYK | cmyk(62.8%, 46%, 0%, 2%) |
| CIE-LAB | lab(58.56, 20.66, -61.85) |
| CIE-LCH | lch(58.56, 65.21, 288.47°) |
| OKLab | oklab(65.01% -0.011 -0.1768) |
| OKLCH | oklch(65.01% 0.177 266.4) |
| XYZ | xyz(30.4276, 26.5545, 93.9460) |
| Luminance | 0.2656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.82
Dodger Blue
#3E82FC
ΔE00 3.38
Lightish Blue
#3D7AFD
ΔE00 4.60
Cornflowerblue
#6495ED
ΔE00 4.66
Cornflower
#6A79F7
ΔE00 5.64
Clear Blue
#247AFD
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D87FA #FAD05D
analogous
#5DD6FA #5D87FA #825DFA
triadic
#5D87FA #FA5D87 #87FA5D
tetradic
#5D87FA #FA5DD6 #FAD05D #5DFA82
square
#5D87FA #FA5DD6 #FAD05D #5DFA82
split-complementary
#5D87FA #FA825D #D6FA5D
monochromatic
#073ED6 #225BF8 #5D87FA #98B3FC #D4DFFE
Accessibility & contrast
On white
3.33
#5D87FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#5D87FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D87FA
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D87FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D87FA | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E94FE
Deuteranopia (green-blind)
#3186F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5d87fa; /* rgb */ color: rgb(93, 135, 250); /* oklch */ color: oklch(65.0% 0.177 266.4);
Tailwind
colors: {
custom: {
50: '#99a9fd',
500: '#5d87fa',
950: '#000000',
},
}SCSS
$custom: #5d87fa; $custom-light: #99a9fd; $custom-dark: #000000;
JSON
{
"hex": "#5d87fa",
"rgb": {
"r": 93,
"g": 135,
"b": 250
},
"hsl": {
"h": 223.949,
"s": 94.012,
"l": 67.255
},
"oklch": {
"l": 0.65006,
"c": 0.17719,
"h": 266.4
},
"luminance": 0.26557
}Semantic roles & 50–950 ramp
primary
#5D87FA
secondary
#F2E5C1
accent
#A800E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86