#5B8AF5#5B8AF5
#5B8AF5 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.2% C 0.168 H 264.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5B8AF5 |
|---|---|
| RGB | rgb(91, 138, 245) |
| HSL | hsl(222, 89%, 66%) |
| HSV | hsv(222, 63%, 96%) |
| CMYK | cmyk(62.9%, 43.7%, 0%, 3.9%) |
| CIE-LAB | lab(58.97, 16.84, -58.45) |
| CIE-LCH | lch(58.97, 60.83, 286.08°) |
| OKLab | oklab(65.2% -0.0164 -0.1668) |
| OKLCH | oklch(65.2% 0.168 264.4) |
| XYZ | xyz(29.8786, 26.9909, 90.0037) |
| Luminance | 0.2699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.91
Dodger Blue
#3E82FC
ΔE00 3.27
Cornflowerblue
#6495ED
ΔE00 3.46
Dark Sky Blue
#448EE4
ΔE00 5.21
Lightish Blue
#3D7AFD
ΔE00 5.21
Azure
#007FFF
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B8AF5 #F5C65B
analogous
#5BD7F5 #5B8AF5 #795BF5
triadic
#5B8AF5 #F55B8A #8AF55B
tetradic
#5B8AF5 #F55BD7 #F5C65B #5BF579
square
#5B8AF5 #F55BD7 #F5C65B #5BF579
split-complementary
#5B8AF5 #F5795B #D7F55B
monochromatic
#0C46C9 #2161F1 #5B8AF5 #95B3F9 #CEDCFC
Accessibility & contrast
On white
3.28
#5B8AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#5B8AF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B8AF5
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B8AF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B8AF5 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5795F9
Deuteranopia (green-blind)
#3F87F3
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5b8af5; /* rgb */ color: rgb(91, 138, 245); /* oklch */ color: oklch(65.2% 0.168 264.4);
Tailwind
colors: {
custom: {
50: '#97abf9',
500: '#5b8af5',
950: '#000000',
},
}SCSS
$custom: #5b8af5; $custom-light: #97abf9; $custom-dark: #000000;
JSON
{
"hex": "#5b8af5",
"rgb": {
"r": 91,
"g": 138,
"b": 245
},
"hsl": {
"h": 221.688,
"s": 88.506,
"l": 65.882
},
"oklch": {
"l": 0.65198,
"c": 0.16765,
"h": 264.4
},
"luminance": 0.26994
}Semantic roles & 50–950 ramp
primary
#5B8AF5
secondary
#EFE0BC
accent
#9F00E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85