#5B87ED#5B87ED
#5B87ED is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.1% C 0.160 H 264.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5B87ED |
|---|---|
| RGB | rgb(91, 135, 237) |
| HSL | hsl(222, 80%, 64%) |
| HSV | hsv(222, 62%, 93%) |
| CMYK | cmyk(61.6%, 43%, 0%, 7.1%) |
| CIE-LAB | lab(57.72, 15.97, -56.02) |
| CIE-LCH | lch(57.72, 58.25, 285.91°) |
| OKLab | oklab(64.09% -0.0148 -0.1597) |
| OKLCH | oklch(64.09% 0.16 264.7) |
| XYZ | xyz(28.2591, 25.6640, 83.5688) |
| Luminance | 0.2567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.33
Dodger Blue
#3E82FC
ΔE00 2.97
Cornflowerblue
#6495ED
ΔE00 4.35
Lightish Blue
#3D7AFD
ΔE00 4.53
Clear Blue
#247AFD
ΔE00 5.27
Faded Blue
#658CBB
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B87ED #EDC15B
analogous
#5BD0ED #5B87ED #785BED
triadic
#5B87ED #ED5B87 #87ED5B
tetradic
#5B87ED #ED5BD0 #EDC15B #5BED78
square
#5B87ED #ED5BD0 #EDC15B #5BED78
split-complementary
#5B87ED #ED785B #D0ED5B
monochromatic
#1446B9 #245FE7 #5B87ED #92AFF3 #C9D8F9
Accessibility & contrast
On white
3.42
#5B87ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#5B87ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B87ED
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B87ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B87ED | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#4284EB
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5b87ed; /* rgb */ color: rgb(91, 135, 237); /* oklch */ color: oklch(64.1% 0.160 264.7);
Tailwind
colors: {
custom: {
50: '#96a9f3',
500: '#5b87ed',
950: '#000000',
},
}SCSS
$custom: #5b87ed; $custom-light: #96a9f3; $custom-dark: #000000;
JSON
{
"hex": "#5b87ed",
"rgb": {
"r": 91,
"g": 135,
"b": 237
},
"hsl": {
"h": 221.918,
"s": 80.22,
"l": 64.314
},
"oklch": {
"l": 0.64092,
"c": 0.16043,
"h": 264.7
},
"luminance": 0.25667
}Semantic roles & 50–950 ramp
primary
#5B87ED
secondary
#EBDCB9
accent
#9D09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85