#5A76E6#5A76E6
#5A76E6 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.2% C 0.172 H 270.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5A76E6 |
|---|---|
| RGB | rgb(90, 118, 230) |
| HSL | hsl(228, 74%, 63%) |
| HSV | hsv(228, 61%, 90%) |
| CMYK | cmyk(60.9%, 48.7%, 0%, 9.8%) |
| CIE-LAB | lab(52.78, 23.80, -60.03) |
| CIE-LCH | lch(52.78, 64.58, 291.62°) |
| OKLab | oklab(60.17% 0 -0.1718) |
| OKLCH | oklch(60.17% 0.172 270) |
| XYZ | xyz(24.9730, 20.8416, 77.5544) |
| Luminance | 0.2084 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.12
Cornflower
#6A79F7
ΔE00 3.60
Lightish Blue
#3D7AFD
ΔE00 4.15
Royal Blue
#4169E1
ΔE00 5.11
Clear Blue
#247AFD
ΔE00 5.55
Deep Sky Blue
#0D75F8
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A76E6 #E6CA5A
analogous
#5ABCE6 #5A76E6 #845AE6
triadic
#5A76E6 #E65A76 #76E65A
tetradic
#5A76E6 #E65ABC #E6CA5A #5AE684
square
#5A76E6 #E65ABC #E6CA5A #5AE684
split-complementary
#5A76E6 #E6845A #BCE65A
monochromatic
#1A37AC #254ADE #5A76E6 #8FA2EE #C4CEF6
Accessibility & contrast
On white
4.06
#5A76E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#5A76E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A76E6
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A76E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A76E6 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B85EA
Deuteranopia (green-blind)
#1E78E4
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5a76e6; /* rgb */ color: rgb(90, 118, 230); /* oklch */ color: oklch(60.2% 0.172 270.0);
Tailwind
colors: {
custom: {
50: '#959def',
500: '#5a76e6',
950: '#000000',
},
}SCSS
$custom: #5a76e6; $custom-light: #959def; $custom-dark: #000000;
JSON
{
"hex": "#5a76e6",
"rgb": {
"r": 90,
"g": 118,
"b": 230
},
"hsl": {
"h": 228,
"s": 73.684,
"l": 62.745
},
"oklch": {
"l": 0.6017,
"c": 0.17179,
"h": 270
},
"luminance": 0.20844
}Semantic roles & 50–950 ramp
primary
#5A76E6
secondary
#E7DDB5
accent
#AE10D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84