#5B87F3#5B87F3
#5B87F3 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.5% C 0.168 H 265.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5B87F3 |
|---|---|
| RGB | rgb(91, 135, 243) |
| HSL | hsl(223, 86%, 65%) |
| HSV | hsv(223, 63%, 95%) |
| CMYK | cmyk(62.6%, 44.4%, 0%, 4.7%) |
| CIE-LAB | lab(58.06, 17.98, -58.80) |
| CIE-LCH | lch(58.06, 61.49, 287.00°) |
| OKLab | oklab(64.46% -0.0138 -0.1679) |
| OKLCH | oklch(64.46% 0.168 265.3) |
| XYZ | xyz(29.1504, 26.0205, 88.2629) |
| Luminance | 0.2602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.44
Dodger Blue
#3E82FC
ΔE00 2.95
Cornflowerblue
#6495ED
ΔE00 4.40
Lightish Blue
#3D7AFD
ΔE00 4.45
Clear Blue
#247AFD
ΔE00 5.32
Azure
#007FFF
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B87F3 #F3C75B
analogous
#5BD3F3 #5B87F3 #7B5BF3
triadic
#5B87F3 #F35B87 #87F35B
tetradic
#5B87F3 #F35BD3 #F3C75B #5BF37B
square
#5B87F3 #F35BD3 #F3C75B #5BF37B
split-complementary
#5B87F3 #F37B5B #D3F35B
monochromatic
#0E43C5 #225DEF #5B87F3 #94B1F7 #CDDAFB
Accessibility & contrast
On white
3.38
#5B87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#5B87F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B87F3
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B87F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B87F3 | 1.00 | 3.38 | 6.20 | 6.20 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5393F7
Deuteranopia (green-blind)
#3A85F1
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5b87f3; /* rgb */ color: rgb(91, 135, 243); /* oklch */ color: oklch(64.5% 0.168 265.3);
Tailwind
colors: {
custom: {
50: '#97a9f8',
500: '#5b87f3',
950: '#000000',
},
}SCSS
$custom: #5b87f3; $custom-light: #97a9f8; $custom-dark: #000000;
JSON
{
"hex": "#5b87f3",
"rgb": {
"r": 91,
"g": 135,
"b": 243
},
"hsl": {
"h": 222.632,
"s": 86.364,
"l": 65.49
},
"oklch": {
"l": 0.64463,
"c": 0.16849,
"h": 265.3
},
"luminance": 0.26023
}Semantic roles & 50–950 ramp
primary
#5B87F3
secondary
#EEE0BB
accent
#A203E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85