#5A76E8#5A76E8
#5A76E8 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.174 H 270.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5A76E8 |
|---|---|
| RGB | rgb(90, 118, 232) |
| HSL | hsl(228, 76%, 63%) |
| HSV | hsv(228, 61%, 91%) |
| CMYK | cmyk(61.2%, 49.1%, 0%, 9%) |
| CIE-LAB | lab(52.90, 24.47, -60.95) |
| CIE-LCH | lch(52.90, 65.68, 291.87°) |
| OKLab | oklab(60.3% 0.0003 -0.1745) |
| OKLCH | oklch(60.3% 0.174 270.1) |
| XYZ | xyz(25.2555, 20.9546, 79.0420) |
| Luminance | 0.2096 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.31
Cornflower
#6A79F7
ΔE00 3.41
Lightish Blue
#3D7AFD
ΔE00 4.06
Royal Blue
#4169E1
ΔE00 5.19
Clear Blue
#247AFD
ΔE00 5.52
Deep Sky Blue
#0D75F8
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A76E8 #E8CC5A
analogous
#5ABDE8 #5A76E8 #855AE8
triadic
#5A76E8 #E85A76 #76E85A
tetradic
#5A76E8 #E85ABD #E8CC5A #5AE885
square
#5A76E8 #E85ABD #E8CC5A #5AE885
split-complementary
#5A76E8 #E8855A #BDE85A
monochromatic
#1836AF #2449E1 #5A76E8 #90A3EF #C5CFF7
Accessibility & contrast
On white
4.05
#5A76E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#5A76E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A76E8
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A76E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A76E8 | 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)
#3985EC
Deuteranopia (green-blind)
#1978E6
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5a76e8; /* rgb */ color: rgb(90, 118, 232); /* oklch */ color: oklch(60.3% 0.174 270.1);
Tailwind
colors: {
custom: {
50: '#959df0',
500: '#5a76e8',
950: '#000000',
},
}SCSS
$custom: #5a76e8; $custom-light: #959df0; $custom-dark: #000000;
JSON
{
"hex": "#5a76e8",
"rgb": {
"r": 90,
"g": 118,
"b": 232
},
"hsl": {
"h": 228.169,
"s": 75.532,
"l": 63.137
},
"oklch": {
"l": 0.60304,
"c": 0.17449,
"h": 270.1
},
"luminance": 0.20957
}Semantic roles & 50–950 ramp
primary
#5A76E8
secondary
#E8DEB5
accent
#B00ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85