#5A79E7#5A79E7
#5A79E7 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.169 H 269.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5A79E7 |
|---|---|
| RGB | rgb(90, 121, 231) |
| HSL | hsl(227, 75%, 63%) |
| HSV | hsv(227, 61%, 91%) |
| CMYK | cmyk(61%, 47.6%, 0%, 9.4%) |
| CIE-LAB | lab(53.62, 22.29, -59.24) |
| CIE-LCH | lch(53.62, 63.30, 290.62°) |
| OKLab | oklab(60.83% -0.0028 -0.1694) |
| OKLCH | oklch(60.83% 0.169 269.1) |
| XYZ | xyz(25.4728, 21.6158, 78.4157) |
| Luminance | 0.2162 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.58
Cornflower
#6A79F7
ΔE00 3.60
Cornflower Blue
#5170D7
ΔE00 3.86
Soft Blue
#6488EA
ΔE00 4.86
Clear Blue
#247AFD
ΔE00 5.02
Dodger Blue
#3E82FC
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A79E7 #E7C85A
analogous
#5ABFE7 #5A79E7 #825AE7
triadic
#5A79E7 #E75A79 #79E75A
tetradic
#5A79E7 #E75ABF #E7C85A #5AE782
square
#5A79E7 #E75ABF #E7C85A #5AE782
split-complementary
#5A79E7 #E7825A #BFE75A
monochromatic
#193AAD #254EDF #5A79E7 #8FA4EF #C5D0F7
Accessibility & contrast
On white
3.94
#5A79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#5A79E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A79E7
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A79E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A79E7 | 1.00 | 3.94 | 5.32 | 5.32 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#277AE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5a79e7; /* rgb */ color: rgb(90, 121, 231); /* oklch */ color: oklch(60.8% 0.169 269.1);
Tailwind
colors: {
custom: {
50: '#959fef',
500: '#5a79e7',
950: '#000000',
},
}SCSS
$custom: #5a79e7; $custom-light: #959fef; $custom-dark: #000000;
JSON
{
"hex": "#5a79e7",
"rgb": {
"r": 90,
"g": 121,
"b": 231
},
"hsl": {
"h": 226.809,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.60829,
"c": 0.16944,
"h": 269.1
},
"luminance": 0.21618
}Semantic roles & 50–950 ramp
primary
#5A79E7
secondary
#E8DDB5
accent
#AB0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84