#5A79EA#5A79EA
#5A79EA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.174 H 269.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5A79EA |
|---|---|
| RGB | rgb(90, 121, 234) |
| HSL | hsl(227, 77%, 64%) |
| HSV | hsv(227, 62%, 92%) |
| CMYK | cmyk(61.5%, 48.3%, 0%, 8.2%) |
| CIE-LAB | lab(53.80, 23.30, -60.63) |
| CIE-LCH | lch(53.80, 64.95, 291.02°) |
| OKLab | oklab(61.03% -0.0024 -0.1735) |
| OKLCH | oklch(61.03% 0.174 269.2) |
| XYZ | xyz(25.9001, 21.7867, 80.6663) |
| Luminance | 0.2179 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.32
Lightish Blue
#3D7AFD
ΔE00 3.44
Cornflower Blue
#5170D7
ΔE00 4.09
Soft Blue
#6488EA
ΔE00 4.83
Clear Blue
#247AFD
ΔE00 4.98
Dodger Blue
#3E82FC
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A79EA #EACB5A
analogous
#5AC1EA #5A79EA #835AEA
triadic
#5A79EA #EA5A79 #79EA5A
tetradic
#5A79EA #EA5AC1 #EACB5A #5AEA83
square
#5A79EA #EA5AC1 #EACB5A #5AEA83
split-complementary
#5A79EA #EA835A #C1EA5A
monochromatic
#1738B3 #244DE3 #5A79EA #90A5F1 #C7D1F8
Accessibility & contrast
On white
3.92
#5A79EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#5A79EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A79EA
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A79EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A79EA | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#207AE8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5a79ea; /* rgb */ color: rgb(90, 121, 234); /* oklch */ color: oklch(61.0% 0.174 269.2);
Tailwind
colors: {
custom: {
50: '#959ff1',
500: '#5a79ea',
950: '#000000',
},
}SCSS
$custom: #5a79ea; $custom-light: #959ff1; $custom-dark: #000000;
JSON
{
"hex": "#5a79ea",
"rgb": {
"r": 90,
"g": 121,
"b": 234
},
"hsl": {
"h": 227.083,
"s": 77.419,
"l": 63.529
},
"oklch": {
"l": 0.61027,
"c": 0.17351,
"h": 269.2
},
"luminance": 0.21789
}Semantic roles & 50–950 ramp
primary
#5A79EA
secondary
#E9DEB6
accent
#AD0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85