#5B8BF5#5B8BF5
#5B8BF5 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.4% C 0.166 H 264.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5B8BF5 |
|---|---|
| RGB | rgb(91, 139, 245) |
| HSL | hsl(221, 89%, 66%) |
| HSV | hsv(221, 63%, 96%) |
| CMYK | cmyk(62.9%, 43.3%, 0%, 3.9%) |
| CIE-LAB | lab(59.23, 16.24, -58.02) |
| CIE-LCH | lch(59.23, 60.25, 285.64°) |
| OKLab | oklab(65.4% -0.0173 -0.1656) |
| OKLCH | oklch(65.4% 0.166 264) |
| XYZ | xyz(30.0227, 27.2792, 90.0517) |
| Luminance | 0.2728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.13
Cornflowerblue
#6495ED
ΔE00 3.14
Dodger Blue
#3E82FC
ΔE00 3.42
Dark Sky Blue
#448EE4
ΔE00 5.01
Lightish Blue
#3D7AFD
ΔE00 5.49
Azure
#007FFF
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B8BF5 #F5C55B
analogous
#5BD8F5 #5B8BF5 #785BF5
triadic
#5B8BF5 #F55B8B #8BF55B
tetradic
#5B8BF5 #F55BD8 #F5C55B #5BF578
square
#5B8BF5 #F55BD8 #F5C55B #5BF578
split-complementary
#5B8BF5 #F5785B #D8F55B
monochromatic
#0C47C9 #2162F1 #5B8BF5 #95B4F9 #CEDDFC
Accessibility & contrast
On white
3.25
#5B8BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#5B8BF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B8BF5
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B8BF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B8BF5 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5996F9
Deuteranopia (green-blind)
#4188F3
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #5b8bf5; /* rgb */ color: rgb(91, 139, 245); /* oklch */ color: oklch(65.4% 0.166 264.0);
Tailwind
colors: {
custom: {
50: '#97acf9',
500: '#5b8bf5',
950: '#000000',
},
}SCSS
$custom: #5b8bf5; $custom-light: #97acf9; $custom-dark: #000000;
JSON
{
"hex": "#5b8bf5",
"rgb": {
"r": 91,
"g": 139,
"b": 245
},
"hsl": {
"h": 221.299,
"s": 88.506,
"l": 65.882
},
"oklch": {
"l": 0.65402,
"c": 0.16649,
"h": 264
},
"luminance": 0.27282
}Semantic roles & 50–950 ramp
primary
#5B8BF5
secondary
#EFDFBC
accent
#9E00E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85