#5A79E5#5A79E5
#5A79E5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.167 H 269.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5A79E5 |
|---|---|
| RGB | rgb(90, 121, 229) |
| HSL | hsl(227, 73%, 63%) |
| HSV | hsv(227, 61%, 90%) |
| CMYK | cmyk(60.7%, 47.2%, 0%, 10.2%) |
| CIE-LAB | lab(53.50, 21.62, -58.32) |
| CIE-LCH | lch(53.50, 62.20, 290.35°) |
| OKLab | oklab(60.7% -0.003 -0.1667) |
| OKLCH | oklch(60.7% 0.167 269) |
| XYZ | xyz(25.1919, 21.5034, 76.9366) |
| Luminance | 0.2151 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.69
Cornflower Blue
#5170D7
ΔE00 3.71
Cornflower
#6A79F7
ΔE00 3.79
Soft Blue
#6488EA
ΔE00 4.90
Clear Blue
#247AFD
ΔE00 5.06
Dodger Blue
#3E82FC
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A79E5 #E5C65A
analogous
#5ABEE5 #5A79E5 #815AE5
triadic
#5A79E5 #E55A79 #79E55A
tetradic
#5A79E5 #E55ABE #E5C65A #5AE581
square
#5A79E5 #E55ABE #E5C65A #5AE581
split-complementary
#5A79E5 #E5815A #BEE55A
monochromatic
#1B3BAA #254EDD #5A79E5 #8FA4ED #C4CFF6
Accessibility & contrast
On white
3.96
#5A79E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#5A79E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A79E5
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A79E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A79E5 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4386E9
Deuteranopia (green-blind)
#2A7AE3
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5a79e5; /* rgb */ color: rgb(90, 121, 229); /* oklch */ color: oklch(60.7% 0.167 269.0);
Tailwind
colors: {
custom: {
50: '#949fee',
500: '#5a79e5',
950: '#000000',
},
}SCSS
$custom: #5a79e5; $custom-light: #949fee; $custom-dark: #000000;
JSON
{
"hex": "#5a79e5",
"rgb": {
"r": 90,
"g": 121,
"b": 229
},
"hsl": {
"h": 226.619,
"s": 72.775,
"l": 62.549
},
"oklch": {
"l": 0.60698,
"c": 0.16673,
"h": 269
},
"luminance": 0.21506
}Semantic roles & 50–950 ramp
primary
#5A79E5
secondary
#E7DBB4
accent
#A911D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84