#5A79CD#5A79CD
#5A79CD is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.2% C 0.134 H 267.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5A79CD |
|---|---|
| RGB | rgb(90, 121, 205) |
| HSL | hsl(224, 53%, 58%) |
| HSV | hsv(224, 56%, 80%) |
| CMYK | cmyk(56.1%, 41%, 0%, 19.6%) |
| CIE-LAB | lab(52.12, 13.68, -46.96) |
| CIE-LCH | lch(52.12, 48.91, 286.24°) |
| OKLab | oklab(59.2% -0.0069 -0.1334) |
| OKLCH | oklch(59.2% 0.134 267) |
| XYZ | xyz(22.0696, 20.2545, 60.4923) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.33
Lightish Blue
#3D7AFD
ΔE00 5.68
Royal Blue
#4169E1
ΔE00 6.03
Soft Blue
#6488EA
ΔE00 6.08
Clear Blue
#247AFD
ΔE00 6.29
Deep Sky Blue
#0D75F8
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A79CD #CDAE5A
analogous
#5AB2CD #5A79CD #745ACD
triadic
#5A79CD #CD5A79 #79CD5A
tetradic
#5A79CD #CD5AB2 #CDAE5A #5ACD74
square
#5A79CD #CD5AB2 #CDAE5A #5ACD74
split-complementary
#5A79CD #CD745A #B2CD5A
monochromatic
#284184 #3658B3 #5A79CD #899FDB #B8C5E9
Accessibility & contrast
On white
4.16
#5A79CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#5A79CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A79CD
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A79CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A79CD | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#4778CB
Tritanopia (blue-blind)
#0E8B99
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5a79cd; /* rgb */ color: rgb(90, 121, 205); /* oklch */ color: oklch(59.2% 0.134 267.0);
Tailwind
colors: {
custom: {
50: '#919fdd',
500: '#5a79cd',
950: '#000000',
},
}SCSS
$custom: #5a79cd; $custom-light: #919fdd; $custom-dark: #000000;
JSON
{
"hex": "#5a79cd",
"rgb": {
"r": 90,
"g": 121,
"b": 205
},
"hsl": {
"h": 223.826,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.59203,
"c": 0.13354,
"h": 267
},
"luminance": 0.20256
}Semantic roles & 50–950 ramp
primary
#5A79CD
secondary
#D8CCAA
accent
#B64BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83