#5B79CA#5B79CA
#5B79CA is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.129 H 267.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5B79CA |
|---|---|
| RGB | rgb(91, 121, 202) |
| HSL | hsl(224, 51%, 57%) |
| HSV | hsv(224, 55%, 79%) |
| CMYK | cmyk(55%, 40.1%, 0%, 20.8%) |
| CIE-LAB | lab(52.02, 12.92, -45.42) |
| CIE-LCH | lch(52.02, 47.22, 285.88°) |
| OKLab | oklab(59.09% -0.0065 -0.1288) |
| OKLCH | oklch(59.09% 0.129 267.1) |
| XYZ | xyz(21.8089, 20.1615, 58.6080) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.49
Lightish Blue
#3D7AFD
ΔE00 6.06
Royal Blue
#4169E1
ΔE00 6.20
Soft Blue
#6488EA
ΔE00 6.30
Off Blue
#5684AE
ΔE00 6.52
Windows Blue
#3778BF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B79CA #CAAC5B
analogous
#5BB0CA #5B79CA #755BCA
triadic
#5B79CA #CA5B79 #79CA5B
tetradic
#5B79CA #CA5BB0 #CAAC5B #5BCA75
square
#5B79CA #CA5BB0 #CAAC5B #5BCA75
split-complementary
#5B79CA #CA755B #B0CA5B
monochromatic
#2A4181 #3959AF #5B79CA #899FD9 #B8C5E8
Accessibility & contrast
On white
4.17
#5B79CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#5B79CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B79CA
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B79CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B79CA | 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)
#5781CD
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#1B8B98
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5b79ca; /* rgb */ color: rgb(91, 121, 202); /* oklch */ color: oklch(59.1% 0.129 267.1);
Tailwind
colors: {
custom: {
50: '#919fda',
500: '#5b79ca',
950: '#000000',
},
}SCSS
$custom: #5b79ca; $custom-light: #919fda; $custom-dark: #000000;
JSON
{
"hex": "#5b79ca",
"rgb": {
"r": 91,
"g": 121,
"b": 202
},
"hsl": {
"h": 223.784,
"s": 51.152,
"l": 57.451
},
"oklch": {
"l": 0.59085,
"c": 0.12898,
"h": 267.1
},
"luminance": 0.20163
}Semantic roles & 50–950 ramp
primary
#5B79CA
secondary
#D7CBAA
accent
#B44DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83