#5B7BF1#5B7BF1
#5B7BF1 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.180 H 269.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7BF1 |
|---|---|
| RGB | rgb(91, 123, 241) |
| HSL | hsl(227, 84%, 65%) |
| HSV | hsv(227, 62%, 95%) |
| CMYK | cmyk(62.2%, 49%, 0%, 5.5%) |
| CIE-LAB | lab(54.80, 24.59, -62.91) |
| CIE-LCH | lch(54.80, 67.55, 291.35°) |
| OKLab | oklab(61.94% -0.0026 -0.1802) |
| OKLCH | oklch(61.94% 0.18 269.2) |
| XYZ | xyz(27.2691, 22.7386, 86.1540) |
| Luminance | 0.2274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.89
Lightish Blue
#3D7AFD
ΔE00 3.17
Soft Blue
#6488EA
ΔE00 4.22
Dodger Blue
#3E82FC
ΔE00 4.67
Clear Blue
#247AFD
ΔE00 4.89
Cornflower Blue
#5170D7
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7BF1 #F1D15B
analogous
#5BC6F1 #5B7BF1 #865BF1
triadic
#5B7BF1 #F15B7B #7BF15B
tetradic
#5B7BF1 #F15BC6 #F1D15B #5BF186
square
#5B7BF1 #F15BC6 #F1D15B #5BF186
split-complementary
#5B7BF1 #F1865B #C6F15B
monochromatic
#1036C1 #234EEC #5B7BF1 #93A8F6 #CCD6FB
Accessibility & contrast
On white
3.79
#5B7BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#5B7BF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7BF1
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7BF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7BF1 | 1.00 | 3.79 | 5.55 | 5.55 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8AF5
Deuteranopia (green-blind)
#177DEF
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5b7bf1; /* rgb */ color: rgb(91, 123, 241); /* oklch */ color: oklch(61.9% 0.180 269.2);
Tailwind
colors: {
custom: {
50: '#97a0f6',
500: '#5b7bf1',
950: '#000000',
},
}SCSS
$custom: #5b7bf1; $custom-light: #97a0f6; $custom-dark: #000000;
JSON
{
"hex": "#5b7bf1",
"rgb": {
"r": 91,
"g": 123,
"b": 241
},
"hsl": {
"h": 227.2,
"s": 84.27,
"l": 65.098
},
"oklch": {
"l": 0.61941,
"c": 0.18019,
"h": 269.2
},
"luminance": 0.22741
}Semantic roles & 50–950 ramp
primary
#5B7BF1
secondary
#EDE2BA
accent
#B205E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85