#5B7AE7#5B7AE7
#5B7AE7 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.1% C 0.168 H 269.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7AE7 |
|---|---|
| RGB | rgb(91, 122, 231) |
| HSL | hsl(227, 74%, 63%) |
| HSV | hsv(227, 61%, 91%) |
| CMYK | cmyk(60.6%, 47.2%, 0%, 9.4%) |
| CIE-LAB | lab(53.93, 21.86, -58.73) |
| CIE-LCH | lch(53.93, 62.67, 290.42°) |
| OKLab | oklab(61.08% -0.0028 -0.1679) |
| OKLCH | oklch(61.08% 0.168 269) |
| XYZ | xyz(25.6929, 21.9106, 78.4610) |
| Luminance | 0.2191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.56
Lightish Blue
#3D7AFD
ΔE00 3.58
Cornflower Blue
#5170D7
ΔE00 4.14
Soft Blue
#6488EA
ΔE00 4.53
Clear Blue
#247AFD
ΔE00 5.03
Dodger Blue
#3E82FC
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7AE7 #E7C85B
analogous
#5BC0E7 #5B7AE7 #825BE7
triadic
#5B7AE7 #E75B7A #7AE75B
tetradic
#5B7AE7 #E75BC0 #E7C85B #5BE782
square
#5B7AE7 #E75BC0 #E7C85B #5BE782
split-complementary
#5B7AE7 #E7825B #C0E75B
monochromatic
#193AAE #264FDF #5B7AE7 #90A5EF #C6D1F7
Accessibility & contrast
On white
3.90
#5B7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#5B7AE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7AE7
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7AE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7AE7 | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4488EB
Deuteranopia (green-blind)
#2B7BE5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5b7ae7; /* rgb */ color: rgb(91, 122, 231); /* oklch */ color: oklch(61.1% 0.168 269.0);
Tailwind
colors: {
custom: {
50: '#95a0ef',
500: '#5b7ae7',
950: '#000000',
},
}SCSS
$custom: #5b7ae7; $custom-light: #95a0ef; $custom-dark: #000000;
JSON
{
"hex": "#5b7ae7",
"rgb": {
"r": 91,
"g": 122,
"b": 231
},
"hsl": {
"h": 226.714,
"s": 74.468,
"l": 63.137
},
"oklch": {
"l": 0.61083,
"c": 0.16791,
"h": 269
},
"luminance": 0.21913
}Semantic roles & 50–950 ramp
primary
#5B7AE7
secondary
#E8DDB6
accent
#AA0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84