#5B8EF5#5B8EF5
#5B8EF5 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.0% C 0.163 H 262.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5B8EF5 |
|---|---|
| RGB | rgb(91, 142, 245) |
| HSL | hsl(220, 89%, 66%) |
| HSV | hsv(220, 63%, 96%) |
| CMYK | cmyk(62.9%, 42%, 0%, 3.9%) |
| CIE-LAB | lab(60.03, 14.45, -56.74) |
| CIE-LCH | lch(60.03, 58.55, 284.28°) |
| OKLab | oklab(66.02% -0.0202 -0.1618) |
| OKLCH | oklch(66.02% 0.163 262.9) |
| XYZ | xyz(30.4631, 28.1599, 90.1985) |
| Luminance | 0.2816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.23
Soft Blue
#6488EA
ΔE00 2.94
Dodger Blue
#3E82FC
ΔE00 4.03
Dark Sky Blue
#448EE4
ΔE00 4.50
Dodgerblue
#1E90FF
ΔE00 5.43
Faded Blue
#658CBB
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B8EF5 #F5C25B
analogous
#5BDBF5 #5B8EF5 #755BF5
triadic
#5B8EF5 #F55B8E #8EF55B
tetradic
#5B8EF5 #F55BDB #F5C25B #5BF575
square
#5B8EF5 #F55BDB #F5C25B #5BF575
split-complementary
#5B8EF5 #F5755B #DBF55B
monochromatic
#0C4BC9 #2166F1 #5B8EF5 #95B6F9 #CEDDFC
Accessibility & contrast
On white
3.17
#5B8EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#5B8EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B8EF5
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B8EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B8EF5 | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F98F9
Deuteranopia (green-blind)
#478AF3
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5b8ef5; /* rgb */ color: rgb(91, 142, 245); /* oklch */ color: oklch(66.0% 0.163 262.9);
Tailwind
colors: {
custom: {
50: '#97aef9',
500: '#5b8ef5',
950: '#000000',
},
}SCSS
$custom: #5b8ef5; $custom-light: #97aef9; $custom-dark: #000000;
JSON
{
"hex": "#5b8ef5",
"rgb": {
"r": 91,
"g": 142,
"b": 245
},
"hsl": {
"h": 220.13,
"s": 88.506,
"l": 65.882
},
"oklch": {
"l": 0.66019,
"c": 0.16305,
"h": 262.9
},
"luminance": 0.28163
}Semantic roles & 50–950 ramp
primary
#5B8EF5
secondary
#EFDEBC
accent
#9900E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85