#5A79E8#5A79E8
#5A79E8 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.171 H 269.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5A79E8 |
|---|---|
| RGB | rgb(90, 121, 232) |
| HSL | hsl(227, 76%, 63%) |
| HSV | hsv(227, 61%, 91%) |
| CMYK | cmyk(61.2%, 47.8%, 0%, 9%) |
| CIE-LAB | lab(53.68, 22.63, -59.70) |
| CIE-LCH | lch(53.68, 63.85, 290.76°) |
| OKLab | oklab(60.9% -0.0027 -0.1708) |
| OKLCH | oklch(60.9% 0.171 269.1) |
| XYZ | xyz(25.6144, 21.6724, 79.1616) |
| Luminance | 0.2167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.50
Lightish Blue
#3D7AFD
ΔE00 3.53
Cornflower Blue
#5170D7
ΔE00 3.93
Soft Blue
#6488EA
ΔE00 4.85
Clear Blue
#247AFD
ΔE00 5.00
Dodger Blue
#3E82FC
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A79E8 #E8C95A
analogous
#5AC0E8 #5A79E8 #825AE8
triadic
#5A79E8 #E85A79 #79E85A
tetradic
#5A79E8 #E85AC0 #E8C95A #5AE882
square
#5A79E8 #E85AC0 #E8C95A #5AE882
split-complementary
#5A79E8 #E8825A #C0E85A
monochromatic
#1839AF #244DE1 #5A79E8 #90A5EF #C5D0F7
Accessibility & contrast
On white
3.94
#5A79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#5A79E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A79E8
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A79E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A79E8 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4087EC
Deuteranopia (green-blind)
#257AE6
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5a79e8; /* rgb */ color: rgb(90, 121, 232); /* oklch */ color: oklch(60.9% 0.171 269.1);
Tailwind
colors: {
custom: {
50: '#959ff0',
500: '#5a79e8',
950: '#000000',
},
}SCSS
$custom: #5a79e8; $custom-light: #959ff0; $custom-dark: #000000;
JSON
{
"hex": "#5a79e8",
"rgb": {
"r": 90,
"g": 121,
"b": 232
},
"hsl": {
"h": 226.901,
"s": 75.532,
"l": 63.137
},
"oklch": {
"l": 0.60895,
"c": 0.1708,
"h": 269.1
},
"luminance": 0.21675
}Semantic roles & 50–950 ramp
primary
#5A79E8
secondary
#E8DDB5
accent
#AC0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85