#5B79DC#5B79DC
#5B79DC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.154 H 268.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5B79DC |
|---|---|
| RGB | rgb(91, 121, 220) |
| HSL | hsl(226, 65%, 61%) |
| HSV | hsv(226, 59%, 86%) |
| CMYK | cmyk(58.6%, 45%, 0%, 13.7%) |
| CIE-LAB | lab(53.02, 18.82, -54.02) |
| CIE-LCH | lch(53.02, 57.20, 289.21°) |
| OKLab | oklab(60.18% -0.0033 -0.154) |
| OKLCH | oklch(60.18% 0.154 268.8) |
| XYZ | xyz(24.0657, 21.0643, 70.4939) |
| Luminance | 0.2107 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.28
Lightish Blue
#3D7AFD
ΔE00 4.42
Cornflower
#6A79F7
ΔE00 4.61
Soft Blue
#6488EA
ΔE00 5.18
Clear Blue
#247AFD
ΔE00 5.52
Royal Blue
#4169E1
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B79DC #DCBE5B
analogous
#5BB9DC #5B79DC #7D5BDC
triadic
#5B79DC #DC5B79 #79DC5B
tetradic
#5B79DC #DC5BB9 #DCBE5B #5BDC7D
square
#5B79DC #DC5BB9 #DCBE5B #5BDC7D
split-complementary
#5B79DC #DC7D5B #B9DC5B
monochromatic
#213E9B #2C52CE #5B79DC #8DA2E7 #C0CBF2
Accessibility & contrast
On white
4.03
#5B79DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#5B79DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B79DC
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B79DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B79DC | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B85E0
Deuteranopia (green-blind)
#3879DA
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5b79dc; /* rgb */ color: rgb(91, 121, 220); /* oklch */ color: oklch(60.2% 0.154 268.8);
Tailwind
colors: {
custom: {
50: '#949fe7',
500: '#5b79dc',
950: '#000000',
},
}SCSS
$custom: #5b79dc; $custom-light: #949fe7; $custom-dark: #000000;
JSON
{
"hex": "#5b79dc",
"rgb": {
"r": 91,
"g": 121,
"b": 220
},
"hsl": {
"h": 226.047,
"s": 64.824,
"l": 60.98
},
"oklch": {
"l": 0.60178,
"c": 0.15409,
"h": 268.8
},
"luminance": 0.21066
}Semantic roles & 50–950 ramp
primary
#5B79DC
secondary
#E2D6B1
accent
#A319CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84