#5A79D5#5A79D5
#5A79D5 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.7% C 0.145 H 267.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5A79D5 |
|---|---|
| RGB | rgb(90, 121, 213) |
| HSL | hsl(225, 59%, 59%) |
| HSV | hsv(225, 58%, 84%) |
| CMYK | cmyk(57.7%, 43.2%, 0%, 16.5%) |
| CIE-LAB | lab(52.57, 16.31, -50.80) |
| CIE-LCH | lch(52.57, 53.35, 287.80°) |
| OKLab | oklab(59.69% -0.0054 -0.1446) |
| OKLCH | oklch(59.69% 0.145 267.8) |
| XYZ | xyz(23.0600, 20.6507, 65.7087) |
| Luminance | 0.2065 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.14
Lightish Blue
#3D7AFD
ΔE00 4.92
Cornflower
#6A79F7
ΔE00 5.51
Soft Blue
#6488EA
ΔE00 5.55
Clear Blue
#247AFD
ΔE00 5.76
Royal Blue
#4169E1
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A79D5 #D5B65A
analogous
#5AB7D5 #5A79D5 #795AD5
triadic
#5A79D5 #D55A79 #79D55A
tetradic
#5A79D5 #D55AB7 #D5B65A #5AD579
square
#5A79D5 #D55AB7 #D5B65A #5AD579
split-complementary
#5A79D5 #D5795A #B7D55A
monochromatic
#254090 #3155C1 #5A79D5 #8BA1E1 #BCC8EE
Accessibility & contrast
On white
4.09
#5A79D5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#5A79D5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A79D5
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A79D5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A79D5 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5083D9
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5a79d5; /* rgb */ color: rgb(90, 121, 213); /* oklch */ color: oklch(59.7% 0.145 267.8);
Tailwind
colors: {
custom: {
50: '#929fe2',
500: '#5a79d5',
950: '#000000',
},
}SCSS
$custom: #5a79d5; $custom-light: #929fe2; $custom-dark: #000000;
JSON
{
"hex": "#5a79d5",
"rgb": {
"r": 90,
"g": 121,
"b": 213
},
"hsl": {
"h": 224.878,
"s": 59.42,
"l": 59.412
},
"oklch": {
"l": 0.59686,
"c": 0.14471,
"h": 267.8
},
"luminance": 0.20652
}Semantic roles & 50–950 ramp
primary
#5A79D5
secondary
#DDD1AD
accent
#BB45E3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83