#5A76EC#5A76EC
#5A76EC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.180 H 270.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5A76EC |
|---|---|
| RGB | rgb(90, 118, 236) |
| HSL | hsl(228, 79%, 64%) |
| HSV | hsv(228, 62%, 93%) |
| CMYK | cmyk(61.9%, 50%, 0%, 7.5%) |
| CIE-LAB | lab(53.15, 25.80, -62.79) |
| CIE-LCH | lch(53.15, 67.88, 292.34°) |
| OKLab | oklab(60.57% 0.0007 -0.1799) |
| OKLCH | oklch(60.57% 0.18 270.2) |
| XYZ | xyz(25.8301, 21.1844, 82.0684) |
| Luminance | 0.2119 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.05
Cornflower Blue
#5170D7
ΔE00 3.71
Lightish Blue
#3D7AFD
ΔE00 3.91
Royal Blue
#4169E1
ΔE00 5.39
Clear Blue
#247AFD
ΔE00 5.47
Deep Sky Blue
#0D75F8
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A76EC #ECD05A
analogous
#5ABFEC #5A76EC #875AEC
triadic
#5A76EC #EC5A76 #76EC5A
tetradic
#5A76EC #EC5ABF #ECD05A #5AEC87
square
#5A76EC #EC5ABF #ECD05A #5AEC87
split-complementary
#5A76EC #EC875A #BFEC5A
monochromatic
#1534B7 #2348E6 #5A76EC #91A4F2 #C8D1F9
Accessibility & contrast
On white
4.01
#5A76EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#5A76EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A76EC
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A76EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A76EC | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#0779EA
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5a76ec; /* rgb */ color: rgb(90, 118, 236); /* oklch */ color: oklch(60.6% 0.180 270.2);
Tailwind
colors: {
custom: {
50: '#969df3',
500: '#5a76ec',
950: '#000000',
},
}SCSS
$custom: #5a76ec; $custom-light: #969df3; $custom-dark: #000000;
JSON
{
"hex": "#5a76ec",
"rgb": {
"r": 90,
"g": 118,
"b": 236
},
"hsl": {
"h": 228.493,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.60574,
"c": 0.17989,
"h": 270.2
},
"luminance": 0.21187
}Semantic roles & 50–950 ramp
primary
#5A76EC
secondary
#EBE1B7
accent
#B30ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85