#5A79F2#5A79F2
#5A79F2 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.184 H 269.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5A79F2 |
|---|---|
| RGB | rgb(90, 121, 242) |
| HSL | hsl(228, 85%, 65%) |
| HSV | hsv(228, 63%, 95%) |
| CMYK | cmyk(62.8%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(54.30, 25.98, -64.28) |
| CIE-LCH | lch(54.30, 69.33, 292.01°) |
| OKLab | oklab(61.57% -0.0016 -0.1842) |
| OKLCH | oklch(61.57% 0.184 269.5) |
| XYZ | xyz(27.0754, 22.2568, 86.8563) |
| Luminance | 0.2226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.70
Lightish Blue
#3D7AFD
ΔE00 3.26
Cornflower Blue
#5170D7
ΔE00 4.81
Soft Blue
#6488EA
ΔE00 4.88
Clear Blue
#247AFD
ΔE00 5.00
Dodger Blue
#3E82FC
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A79F2 #F2D35A
analogous
#5AC5F2 #5A79F2 #875AF2
triadic
#5A79F2 #F25A79 #79F25A
tetradic
#5A79F2 #F25AC5 #F2D35A #5AF287
square
#5A79F2 #F25AC5 #F2D35A #5AF287
split-complementary
#5A79F2 #F2875A #C5F25A
monochromatic
#0F34C2 #214BEE #5A79F2 #93A7F6 #CBD5FB
Accessibility & contrast
On white
3.85
#5A79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#5A79F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A79F2
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A79F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A79F2 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5a79f2; /* rgb */ color: rgb(90, 121, 242); /* oklch */ color: oklch(61.6% 0.184 269.5);
Tailwind
colors: {
custom: {
50: '#969ff7',
500: '#5a79f2',
950: '#000000',
},
}SCSS
$custom: #5a79f2; $custom-light: #969ff7; $custom-dark: #000000;
JSON
{
"hex": "#5a79f2",
"rgb": {
"r": 90,
"g": 121,
"b": 242
},
"hsl": {
"h": 227.763,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.61565,
"c": 0.18425,
"h": 269.5
},
"luminance": 0.22259
}Semantic roles & 50–950 ramp
primary
#5A79F2
secondary
#EEE3BA
accent
#B504E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85