#5B7CF2#5B7CF2
#5B7CF2 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.2% C 0.180 H 268.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7CF2 |
|---|---|
| RGB | rgb(91, 124, 242) |
| HSL | hsl(227, 85%, 65%) |
| HSV | hsv(227, 62%, 95%) |
| CMYK | cmyk(62.4%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(55.12, 24.32, -62.95) |
| CIE-LCH | lch(55.12, 67.49, 291.12°) |
| OKLab | oklab(62.2% -0.0034 -0.1803) |
| OKLCH | oklch(62.2% 0.18 268.9) |
| XYZ | xyz(27.5436, 23.0478, 86.9844) |
| Luminance | 0.2305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.02
Lightish Blue
#3D7AFD
ΔE00 3.10
Soft Blue
#6488EA
ΔE00 3.91
Dodger Blue
#3E82FC
ΔE00 4.41
Clear Blue
#247AFD
ΔE00 4.82
Cornflower Blue
#5170D7
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7CF2 #F2D15B
analogous
#5BC8F2 #5B7CF2 #855BF2
triadic
#5B7CF2 #F25B7C #7CF25B
tetradic
#5B7CF2 #F25BC8 #F2D15B #5BF285
square
#5B7CF2 #F25BC8 #F2D15B #5BF285
split-complementary
#5B7CF2 #F2855B #C8F25B
monochromatic
#0F37C3 #224FEE #5B7CF2 #94A9F6 #CCD7FB
Accessibility & contrast
On white
3.74
#5B7CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#5B7CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7CF2
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7CF2 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#197EF0
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5b7cf2; /* rgb */ color: rgb(91, 124, 242); /* oklch */ color: oklch(62.2% 0.180 268.9);
Tailwind
colors: {
custom: {
50: '#97a1f7',
500: '#5b7cf2',
950: '#000000',
},
}SCSS
$custom: #5b7cf2; $custom-light: #97a1f7; $custom-dark: #000000;
JSON
{
"hex": "#5b7cf2",
"rgb": {
"r": 91,
"g": 124,
"b": 242
},
"hsl": {
"h": 226.887,
"s": 85.311,
"l": 65.294
},
"oklch": {
"l": 0.62203,
"c": 0.18031,
"h": 268.9
},
"luminance": 0.2305
}Semantic roles & 50–950 ramp
primary
#5B7CF2
secondary
#EEE3BB
accent
#B104E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85