#5B79E8#5B79E8
#5B79E8 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.171 H 269.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5B79E8 |
|---|---|
| RGB | rgb(91, 121, 232) |
| HSL | hsl(227, 75%, 63%) |
| HSV | hsv(227, 61%, 91%) |
| CMYK | cmyk(60.8%, 47.8%, 0%, 9%) |
| CIE-LAB | lab(53.73, 22.81, -59.61) |
| CIE-LCH | lch(53.73, 63.83, 290.93°) |
| OKLab | oklab(60.95% -0.0017 -0.1705) |
| OKLCH | oklch(60.95% 0.171 269.4) |
| XYZ | xyz(25.7123, 21.7229, 79.1662) |
| Luminance | 0.2172 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.37
Lightish Blue
#3D7AFD
ΔE00 3.65
Cornflower Blue
#5170D7
ΔE00 3.98
Soft Blue
#6488EA
ΔE00 4.86
Clear Blue
#247AFD
ΔE00 5.15
Dodger Blue
#3E82FC
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B79E8 #E8CA5B
analogous
#5BBFE8 #5B79E8 #835BE8
triadic
#5B79E8 #E85B79 #79E85B
tetradic
#5B79E8 #E85BBF #E8CA5B #5BE883
square
#5B79E8 #E85BBF #E8CA5B #5BE883
split-complementary
#5B79E8 #E8835B #BFE85B
monochromatic
#1939B0 #254DE0 #5B79E8 #91A5F0 #C6D1F7
Accessibility & contrast
On white
3.93
#5B79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#5B79E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B79E8
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B79E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B79E8 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4087EC
Deuteranopia (green-blind)
#267AE6
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5b79e8; /* rgb */ color: rgb(91, 121, 232); /* oklch */ color: oklch(61.0% 0.171 269.4);
Tailwind
colors: {
custom: {
50: '#959ff0',
500: '#5b79e8',
950: '#000000',
},
}SCSS
$custom: #5b79e8; $custom-light: #959ff0; $custom-dark: #000000;
JSON
{
"hex": "#5b79e8",
"rgb": {
"r": 91,
"g": 121,
"b": 232
},
"hsl": {
"h": 227.234,
"s": 75.401,
"l": 63.333
},
"oklch": {
"l": 0.6095,
"c": 0.1705,
"h": 269.4
},
"luminance": 0.21725
}Semantic roles & 50–950 ramp
primary
#5B79E8
secondary
#E9DEB6
accent
#AD0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85