#5B87FA#5B87FA
#5B87FA is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.9% C 0.178 H 265.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5B87FA |
|---|---|
| RGB | rgb(91, 135, 250) |
| HSL | hsl(223, 94%, 67%) |
| HSV | hsv(223, 64%, 98%) |
| CMYK | cmyk(63.6%, 46%, 0%, 2%) |
| CIE-LAB | lab(58.46, 20.33, -62.01) |
| CIE-LCH | lch(58.46, 65.26, 288.15°) |
| OKLab | oklab(64.91% -0.0127 -0.1774) |
| OKLCH | oklch(64.91% 0.178 265.9) |
| XYZ | xyz(30.2277, 26.4514, 93.9366) |
| Luminance | 0.2645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.90
Dodger Blue
#3E82FC
ΔE00 3.12
Lightish Blue
#3D7AFD
ΔE00 4.48
Cornflowerblue
#6495ED
ΔE00 4.57
Clear Blue
#247AFD
ΔE00 5.48
Azure
#007FFF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B87FA #FACE5B
analogous
#5BD7FA #5B87FA #7F5BFA
triadic
#5B87FA #FA5B87 #87FA5B
tetradic
#5B87FA #FA5BD7 #FACE5B #5BFA7F
square
#5B87FA #FA5BD7 #FACE5B #5BFA7F
split-complementary
#5B87FA #FA7F5B #D7FA5B
monochromatic
#063FD4 #205CF8 #5B87FA #96B2FC #D2DEFE
Accessibility & contrast
On white
3.34
#5B87FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#5B87FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B87FA
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B87FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B87FA | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#3086F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5b87fa; /* rgb */ color: rgb(91, 135, 250); /* oklch */ color: oklch(64.9% 0.178 265.9);
Tailwind
colors: {
custom: {
50: '#98a9fd',
500: '#5b87fa',
950: '#000000',
},
}SCSS
$custom: #5b87fa; $custom-light: #98a9fd; $custom-dark: #000000;
JSON
{
"hex": "#5b87fa",
"rgb": {
"r": 91,
"g": 135,
"b": 250
},
"hsl": {
"h": 223.396,
"s": 94.083,
"l": 66.863
},
"oklch": {
"l": 0.64906,
"c": 0.17782,
"h": 265.9
},
"luminance": 0.26454
}Semantic roles & 50–950 ramp
primary
#5B87FA
secondary
#F2E4BF
accent
#A600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86