#5B7CF3#5B7CF3
#5B7CF3 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.3% C 0.182 H 269.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7CF3 |
|---|---|
| RGB | rgb(91, 124, 243) |
| HSL | hsl(227, 86%, 65%) |
| HSV | hsv(227, 63%, 95%) |
| CMYK | cmyk(62.6%, 49%, 0%, 4.7%) |
| CIE-LAB | lab(55.18, 24.65, -63.41) |
| CIE-LCH | lch(55.18, 68.03, 291.24°) |
| OKLab | oklab(62.27% -0.0033 -0.1816) |
| OKLCH | oklch(62.27% 0.182 269) |
| XYZ | xyz(27.6942, 23.1081, 87.7775) |
| Luminance | 0.2311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.96
Lightish Blue
#3D7AFD
ΔE00 3.10
Soft Blue
#6488EA
ΔE00 3.94
Dodger Blue
#3E82FC
ΔE00 4.42
Clear Blue
#247AFD
ΔE00 4.83
Cornflower Blue
#5170D7
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7CF3 #F3D25B
analogous
#5BC8F3 #5B7CF3 #865BF3
triadic
#5B7CF3 #F35B7C #7CF35B
tetradic
#5B7CF3 #F35BC8 #F3D25B #5BF386
square
#5B7CF3 #F35BC8 #F3D25B #5BF386
split-complementary
#5B7CF3 #F3865B #C8F35B
monochromatic
#0E36C5 #224EEF #5B7CF3 #94AAF7 #CDD7FB
Accessibility & contrast
On white
3.74
#5B7CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#5B7CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7CF3
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7CF3 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C8BF7
Deuteranopia (green-blind)
#157EF1
Tritanopia (blue-blind)
#0097AC
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5b7cf3; /* rgb */ color: rgb(91, 124, 243); /* oklch */ color: oklch(62.3% 0.182 269.0);
Tailwind
colors: {
custom: {
50: '#97a1f8',
500: '#5b7cf3',
950: '#000000',
},
}SCSS
$custom: #5b7cf3; $custom-light: #97a1f8; $custom-dark: #000000;
JSON
{
"hex": "#5b7cf3",
"rgb": {
"r": 91,
"g": 124,
"b": 243
},
"hsl": {
"h": 226.974,
"s": 86.364,
"l": 65.49
},
"oklch": {
"l": 0.6227,
"c": 0.18165,
"h": 269
},
"luminance": 0.23111
}Semantic roles & 50–950 ramp
primary
#5B7CF3
secondary
#EEE3BB
accent
#B203E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85