#5A79CB#5A79CB
#5A79CB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.131 H 266.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5A79CB |
|---|---|
| RGB | rgb(90, 121, 203) |
| HSL | hsl(224, 52%, 57%) |
| HSV | hsv(224, 56%, 80%) |
| CMYK | cmyk(55.7%, 40.4%, 0%, 20.4%) |
| CIE-LAB | lab(52.02, 13.03, -45.99) |
| CIE-LCH | lch(52.02, 47.80, 285.82°) |
| OKLab | oklab(59.09% -0.0073 -0.1305) |
| OKLCH | oklch(59.09% 0.131 266.8) |
| XYZ | xyz(21.8297, 20.1585, 59.2290) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.42
Lightish Blue
#3D7AFD
ΔE00 5.87
Royal Blue
#4169E1
ΔE00 6.11
Soft Blue
#6488EA
ΔE00 6.23
Windows Blue
#3778BF
ΔE00 6.39
Deep Sky Blue
#0D75F8
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A79CB #CBAC5A
analogous
#5AB1CB #5A79CB #745ACB
triadic
#5A79CB #CB5A79 #79CB5A
tetradic
#5A79CB #CB5AB1 #CBAC5A #5ACB74
square
#5A79CB #CB5AB1 #CBAC5A #5ACB74
split-complementary
#5A79CB #CB745A #B1CB5A
monochromatic
#294182 #3859B0 #5A79CB #899FDA #B7C5E8
Accessibility & contrast
On white
4.17
#5A79CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#5A79CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A79CB
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A79CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A79CB | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5781CE
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#148B98
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5a79cb; /* rgb */ color: rgb(90, 121, 203); /* oklch */ color: oklch(59.1% 0.131 266.8);
Tailwind
colors: {
custom: {
50: '#919fdb',
500: '#5a79cb',
950: '#000000',
},
}SCSS
$custom: #5a79cb; $custom-light: #919fdb; $custom-dark: #000000;
JSON
{
"hex": "#5a79cb",
"rgb": {
"r": 90,
"g": 121,
"b": 203
},
"hsl": {
"h": 223.54,
"s": 52.074,
"l": 57.451
},
"oklch": {
"l": 0.59085,
"c": 0.13073,
"h": 266.8
},
"luminance": 0.2016
}Semantic roles & 50–950 ramp
primary
#5A79CB
secondary
#D7CBAA
accent
#B44CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83