#5B76E7#5B76E7
#5B76E7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.173 H 270.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5B76E7 |
|---|---|
| RGB | rgb(91, 118, 231) |
| HSL | hsl(228, 74%, 63%) |
| HSV | hsv(228, 61%, 91%) |
| CMYK | cmyk(60.6%, 48.9%, 0%, 9.4%) |
| CIE-LAB | lab(52.89, 24.31, -60.40) |
| CIE-LCH | lch(52.89, 65.11, 291.92°) |
| OKLab | oklab(60.29% 0.0011 -0.1728) |
| OKLCH | oklch(60.29% 0.173 270.4) |
| XYZ | xyz(25.2118, 20.9484, 78.3007) |
| Luminance | 0.2095 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.29
Cornflower
#6A79F7
ΔE00 3.39
Lightish Blue
#3D7AFD
ΔE00 4.22
Royal Blue
#4169E1
ΔE00 5.22
Clear Blue
#247AFD
ΔE00 5.68
Soft Blue
#6488EA
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B76E7 #E7CC5B
analogous
#5BBCE7 #5B76E7 #865BE7
triadic
#5B76E7 #E75B76 #76E75B
tetradic
#5B76E7 #E75BBC #E7CC5B #5BE786
square
#5B76E7 #E75BBC #E7CC5B #5BE786
split-complementary
#5B76E7 #E7865B #BCE75B
monochromatic
#1936AE #2649DF #5B76E7 #90A3EF #C6CFF7
Accessibility & contrast
On white
4.05
#5B76E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#5B76E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B76E7
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B76E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B76E7 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A85EB
Deuteranopia (green-blind)
#1D78E5
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5b76e7; /* rgb */ color: rgb(91, 118, 231); /* oklch */ color: oklch(60.3% 0.173 270.4);
Tailwind
colors: {
custom: {
50: '#959def',
500: '#5b76e7',
950: '#000000',
},
}SCSS
$custom: #5b76e7; $custom-light: #959def; $custom-dark: #000000;
JSON
{
"hex": "#5b76e7",
"rgb": {
"r": 91,
"g": 118,
"b": 231
},
"hsl": {
"h": 228.429,
"s": 74.468,
"l": 63.137
},
"oklch": {
"l": 0.60293,
"c": 0.17285,
"h": 270.4
},
"luminance": 0.20951
}Semantic roles & 50–950 ramp
primary
#5B76E7
secondary
#E8DEB6
accent
#B00FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84