#5A79DC#5A79DC
#5A79DC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.154 H 268.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5A79DC |
|---|---|
| RGB | rgb(90, 121, 220) |
| HSL | hsl(226, 65%, 61%) |
| HSV | hsv(226, 59%, 86%) |
| CMYK | cmyk(59.1%, 45%, 0%, 13.7%) |
| CIE-LAB | lab(52.96, 18.63, -54.11) |
| CIE-LCH | lch(52.96, 57.23, 288.99°) |
| OKLab | oklab(60.12% -0.0043 -0.1543) |
| OKLCH | oklch(60.12% 0.154 268.4) |
| XYZ | xyz(23.9677, 21.0138, 70.4893) |
| Luminance | 0.2102 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.24
Lightish Blue
#3D7AFD
ΔE00 4.32
Cornflower
#6A79F7
ΔE00 4.73
Soft Blue
#6488EA
ΔE00 5.19
Clear Blue
#247AFD
ΔE00 5.38
Dodger Blue
#3E82FC
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A79DC #DCBD5A
analogous
#5ABADC #5A79DC #7C5ADC
triadic
#5A79DC #DC5A79 #79DC5A
tetradic
#5A79DC #DC5ABA #DCBD5A #5ADC7C
square
#5A79DC #DC5ABA #DCBD5A #5ADC7C
split-complementary
#5A79DC #DC7C5A #BADC5A
monochromatic
#213E9B #2C52CD #5A79DC #8CA2E7 #BFCBF1
Accessibility & contrast
On white
4.04
#5A79DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#5A79DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A79DC
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A79DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A79DC | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B85E0
Deuteranopia (green-blind)
#3879DA
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5a79dc; /* rgb */ color: rgb(90, 121, 220); /* oklch */ color: oklch(60.1% 0.154 268.4);
Tailwind
colors: {
custom: {
50: '#939fe7',
500: '#5a79dc',
950: '#000000',
},
}SCSS
$custom: #5a79dc; $custom-light: #939fe7; $custom-dark: #000000;
JSON
{
"hex": "#5a79dc",
"rgb": {
"r": 90,
"g": 121,
"b": 220
},
"hsl": {
"h": 225.692,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.60121,
"c": 0.1544,
"h": 268.4
},
"luminance": 0.21016
}Semantic roles & 50–950 ramp
primary
#5A79DC
secondary
#E2D6B0
accent
#A219CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84