#5B7CF4#5B7CF4
#5B7CF4 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.3% C 0.183 H 269.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7CF4 |
|---|---|
| RGB | rgb(91, 124, 244) |
| HSL | hsl(227, 87%, 66%) |
| HSV | hsv(227, 63%, 96%) |
| CMYK | cmyk(62.7%, 49.2%, 0%, 4.3%) |
| CIE-LAB | lab(55.25, 24.99, -63.86) |
| CIE-LCH | lch(55.25, 68.58, 291.37°) |
| OKLab | oklab(62.34% -0.0032 -0.183) |
| OKLCH | oklch(62.34% 0.183 269) |
| XYZ | xyz(27.8456, 23.1686, 88.5750) |
| Luminance | 0.2317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.91
Lightish Blue
#3D7AFD
ΔE00 3.10
Soft Blue
#6488EA
ΔE00 3.97
Dodger Blue
#3E82FC
ΔE00 4.43
Clear Blue
#247AFD
ΔE00 4.86
Cornflower Blue
#5170D7
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7CF4 #F4D35B
analogous
#5BC8F4 #5B7CF4 #865BF4
triadic
#5B7CF4 #F45B7C #7CF45B
tetradic
#5B7CF4 #F45BC8 #F4D35B #5BF486
square
#5B7CF4 #F45BC8 #F4D35B #5BF486
split-complementary
#5B7CF4 #F4865B #C8F45B
monochromatic
#0D35C7 #224EF0 #5B7CF4 #94AAF8 #CED8FC
Accessibility & contrast
On white
3.73
#5B7CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#5B7CF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7CF4
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7CF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7CF4 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8CF8
Deuteranopia (green-blind)
#117EF2
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5b7cf4; /* rgb */ color: rgb(91, 124, 244); /* oklch */ color: oklch(62.3% 0.183 269.0);
Tailwind
colors: {
custom: {
50: '#97a1f8',
500: '#5b7cf4',
950: '#000000',
},
}SCSS
$custom: #5b7cf4; $custom-light: #97a1f8; $custom-dark: #000000;
JSON
{
"hex": "#5b7cf4",
"rgb": {
"r": 91,
"g": 124,
"b": 244
},
"hsl": {
"h": 227.059,
"s": 87.429,
"l": 65.686
},
"oklch": {
"l": 0.62337,
"c": 0.18299,
"h": 269
},
"luminance": 0.23171
}Semantic roles & 50–950 ramp
primary
#5B7CF4
secondary
#EFE4BC
accent
#B302E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85