#5A76EE#5A76EE
#5A76EE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.183 H 270.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5A76EE |
|---|---|
| RGB | rgb(90, 118, 238) |
| HSL | hsl(229, 81%, 64%) |
| HSV | hsv(229, 62%, 93%) |
| CMYK | cmyk(62.2%, 50.4%, 0%, 6.7%) |
| CIE-LAB | lab(53.28, 26.47, -63.70) |
| CIE-LCH | lch(53.28, 68.98, 292.57°) |
| OKLab | oklab(60.71% 0.0009 -0.1826) |
| OKLCH | oklch(60.71% 0.183 270.3) |
| XYZ | xyz(26.1223, 21.3013, 83.6073) |
| Luminance | 0.2130 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.89
Lightish Blue
#3D7AFD
ΔE00 3.86
Cornflower Blue
#5170D7
ΔE00 3.92
Clear Blue
#247AFD
ΔE00 5.47
Royal Blue
#4169E1
ΔE00 5.50
Soft Blue
#6488EA
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A76EE #EED25A
analogous
#5AC0EE #5A76EE #885AEE
triadic
#5A76EE #EE5A76 #76EE5A
tetradic
#5A76EE #EE5AC0 #EED25A #5AEE88
square
#5A76EE #EE5AC0 #EED25A #5AEE88
split-complementary
#5A76EE #EE885A #C0EE5A
monochromatic
#1333BA #2348E8 #5A76EE #91A4F4 #C9D2F9
Accessibility & contrast
On white
3.99
#5A76EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#5A76EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A76EE
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A76EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A76EE | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3186F2
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5a76ee; /* rgb */ color: rgb(90, 118, 238); /* oklch */ color: oklch(60.7% 0.183 270.3);
Tailwind
colors: {
custom: {
50: '#969df4',
500: '#5a76ee',
950: '#000000',
},
}SCSS
$custom: #5a76ee; $custom-light: #969df4; $custom-dark: #000000;
JSON
{
"hex": "#5a76ee",
"rgb": {
"r": 90,
"g": 118,
"b": 238
},
"hsl": {
"h": 228.649,
"s": 81.319,
"l": 64.314
},
"oklch": {
"l": 0.60711,
"c": 0.18257,
"h": 270.3
},
"luminance": 0.21304
}Semantic roles & 50–950 ramp
primary
#5A76EE
secondary
#ECE2B8
accent
#B508DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85