#5B7FF8#5B7FF8
#5B7FF8 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.2% C 0.185 H 268.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7FF8 |
|---|---|
| RGB | rgb(91, 127, 248) |
| HSL | hsl(226, 92%, 66%) |
| HSV | hsv(226, 63%, 97%) |
| CMYK | cmyk(63.3%, 48.8%, 0%, 2.7%) |
| CIE-LAB | lab(56.27, 24.50, -64.44) |
| CIE-LCH | lch(56.27, 68.94, 290.82°) |
| OKLab | oklab(63.19% -0.0056 -0.1846) |
| OKLCH | oklch(63.19% 0.185 268.3) |
| XYZ | xyz(28.8412, 24.1776, 91.9356) |
| Luminance | 0.2418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.17
Soft Blue
#6488EA
ΔE00 3.21
Cornflower
#6A79F7
ΔE00 3.48
Dodger Blue
#3E82FC
ΔE00 3.82
Clear Blue
#247AFD
ΔE00 4.83
Azure
#007FFF
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7FF8 #F8D45B
analogous
#5BCEF8 #5B7FF8 #865BF8
triadic
#5B7FF8 #F85B7F #7FF85B
tetradic
#5B7FF8 #F85BCE #F8D45B #5BF886
square
#5B7FF8 #F85BCE #F8D45B #5BF886
split-complementary
#5B7FF8 #F8865B #CEF85B
monochromatic
#0936D0 #2051F5 #5B7FF8 #96ADFB #D0DBFD
Accessibility & contrast
On white
3.60
#5B7FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#5B7FF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7FF8
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7FF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7FF8 | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8EFC
Deuteranopia (green-blind)
#1480F6
Tritanopia (blue-blind)
#009BB0
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5b7ff8; /* rgb */ color: rgb(91, 127, 248); /* oklch */ color: oklch(63.2% 0.185 268.3);
Tailwind
colors: {
custom: {
50: '#98a3fb',
500: '#5b7ff8',
950: '#000000',
},
}SCSS
$custom: #5b7ff8; $custom-light: #98a3fb; $custom-dark: #000000;
JSON
{
"hex": "#5b7ff8",
"rgb": {
"r": 91,
"g": 127,
"b": 248
},
"hsl": {
"h": 226.242,
"s": 91.813,
"l": 66.471
},
"oklch": {
"l": 0.63191,
"c": 0.18469,
"h": 268.3
},
"luminance": 0.2418
}Semantic roles & 50–950 ramp
primary
#5B7FF8
secondary
#F1E5BE
accent
#B100E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85