#5B7CF6#5B7CF6
#5B7CF6 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.5% C 0.186 H 269.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7CF6 |
|---|---|
| RGB | rgb(91, 124, 246) |
| HSL | hsl(227, 90%, 66%) |
| HSV | hsv(227, 63%, 96%) |
| CMYK | cmyk(63%, 49.6%, 0%, 3.5%) |
| CIE-LAB | lab(55.37, 25.66, -64.77) |
| CIE-LCH | lch(55.37, 69.67, 291.61°) |
| OKLab | oklab(62.47% -0.003 -0.1856) |
| OKLCH | oklch(62.47% 0.186 269.1) |
| XYZ | xyz(28.1509, 23.2908, 90.1830) |
| Luminance | 0.2329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.82
Lightish Blue
#3D7AFD
ΔE00 3.12
Soft Blue
#6488EA
ΔE00 4.03
Dodger Blue
#3E82FC
ΔE00 4.46
Clear Blue
#247AFD
ΔE00 4.90
Cornflower Blue
#5170D7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7CF6 #F6D55B
analogous
#5BC9F6 #5B7CF6 #875BF6
triadic
#5B7CF6 #F65B7C #7CF65B
tetradic
#5B7CF6 #F65BC9 #F6D55B #5BF687
square
#5B7CF6 #F65BC9 #F6D55B #5BF687
split-complementary
#5B7CF6 #F6875B #C9F65B
monochromatic
#0B34CB #214EF3 #5B7CF6 #95AAF9 #CFD9FC
Accessibility & contrast
On white
3.71
#5B7CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#5B7CF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7CF6
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7CF6 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#388CFA
Deuteranopia (green-blind)
#067EF3
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5b7cf6; /* rgb */ color: rgb(91, 124, 246); /* oklch */ color: oklch(62.5% 0.186 269.1);
Tailwind
colors: {
custom: {
50: '#97a1fa',
500: '#5b7cf6',
950: '#000000',
},
}SCSS
$custom: #5b7cf6; $custom-light: #97a1fa; $custom-dark: #000000;
JSON
{
"hex": "#5b7cf6",
"rgb": {
"r": 91,
"g": 124,
"b": 246
},
"hsl": {
"h": 227.226,
"s": 89.595,
"l": 66.078
},
"oklch": {
"l": 0.62472,
"c": 0.18565,
"h": 269.1
},
"luminance": 0.23293
}Semantic roles & 50–950 ramp
primary
#5B7CF6
secondary
#F0E5BD
accent
#B500E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85