#5A79F4#5A79F4
#5A79F4 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.187 H 269.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5A79F4 |
|---|---|
| RGB | rgb(90, 121, 244) |
| HSL | hsl(228, 88%, 65%) |
| HSV | hsv(228, 63%, 96%) |
| CMYK | cmyk(63.1%, 50.4%, 0%, 4.3%) |
| CIE-LAB | lab(54.43, 26.65, -65.19) |
| CIE-LCH | lch(54.43, 70.43, 292.24°) |
| OKLab | oklab(61.7% -0.0014 -0.1869) |
| OKLCH | oklch(61.7% 0.187 269.6) |
| XYZ | xyz(27.3774, 22.3776, 88.4470) |
| Luminance | 0.2238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.58
Lightish Blue
#3D7AFD
ΔE00 3.26
Soft Blue
#6488EA
ΔE00 4.91
Cornflower Blue
#5170D7
ΔE00 5.00
Clear Blue
#247AFD
ΔE00 5.04
Dodger Blue
#3E82FC
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A79F4 #F4D55A
analogous
#5AC6F4 #5A79F4 #885AF4
triadic
#5A79F4 #F45A79 #79F45A
tetradic
#5A79F4 #F45AC6 #F4D55A #5AF488
square
#5A79F4 #F45AC6 #F4D55A #5AF488
split-complementary
#5A79F4 #F4885A #C6F45A
monochromatic
#0D32C6 #214AF0 #5A79F4 #93A8F8 #CDD6FC
Accessibility & contrast
On white
3.83
#5A79F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#5A79F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A79F4
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A79F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A79F4 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3289F8
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5a79f4; /* rgb */ color: rgb(90, 121, 244); /* oklch */ color: oklch(61.7% 0.187 269.6);
Tailwind
colors: {
custom: {
50: '#979ff8',
500: '#5a79f4',
950: '#000000',
},
}SCSS
$custom: #5a79f4; $custom-light: #979ff8; $custom-dark: #000000;
JSON
{
"hex": "#5a79f4",
"rgb": {
"r": 90,
"g": 121,
"b": 244
},
"hsl": {
"h": 227.922,
"s": 87.5,
"l": 65.49
},
"oklch": {
"l": 0.61702,
"c": 0.18692,
"h": 269.6
},
"luminance": 0.2238
}Semantic roles & 50–950 ramp
primary
#5A79F4
secondary
#EFE4BB
accent
#B601E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85