#5A76E1#5A76E1
#5A76E1 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.8% C 0.165 H 269.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5A76E1 |
|---|---|
| RGB | rgb(90, 118, 225) |
| HSL | hsl(228, 69%, 62%) |
| HSV | hsv(228, 60%, 88%) |
| CMYK | cmyk(60%, 47.6%, 0%, 11.8%) |
| CIE-LAB | lab(52.47, 22.13, -57.72) |
| CIE-LCH | lch(52.47, 61.81, 290.98°) |
| OKLab | oklab(59.84% -0.0005 -0.165) |
| OKLCH | oklch(59.84% 0.165 269.8) |
| XYZ | xyz(24.2809, 20.5648, 73.9094) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.71
Cornflower
#6A79F7
ΔE00 4.11
Lightish Blue
#3D7AFD
ΔE00 4.44
Royal Blue
#4169E1
ΔE00 4.96
Clear Blue
#247AFD
ΔE00 5.69
Deep Sky Blue
#0D75F8
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A76E1 #E1C55A
analogous
#5AB9E1 #5A76E1 #825AE1
triadic
#5A76E1 #E15A76 #76E15A
tetradic
#5A76E1 #E15AB9 #E1C55A #5AE182
square
#5A76E1 #E15AB9 #E1C55A #5AE182
split-complementary
#5A76E1 #E1825A #B9E15A
monochromatic
#1E39A3 #274BD7 #5A76E1 #8EA1EA #C2CCF4
Accessibility & contrast
On white
4.11
#5A76E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#5A76E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A76E1
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A76E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A76E1 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4084E5
Deuteranopia (green-blind)
#2978DF
Tritanopia (blue-blind)
#008EA1
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5a76e1; /* rgb */ color: rgb(90, 118, 225); /* oklch */ color: oklch(59.8% 0.165 269.8);
Tailwind
colors: {
custom: {
50: '#949deb',
500: '#5a76e1',
950: '#000000',
},
}SCSS
$custom: #5a76e1; $custom-light: #949deb; $custom-dark: #000000;
JSON
{
"hex": "#5a76e1",
"rgb": {
"r": 90,
"g": 118,
"b": 225
},
"hsl": {
"h": 227.556,
"s": 69.231,
"l": 61.765
},
"oklch": {
"l": 0.59839,
"c": 0.16497,
"h": 269.8
},
"luminance": 0.20567
}Semantic roles & 50–950 ramp
primary
#5A76E1
secondary
#E4DAB2
accent
#AA14D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84