#5B79CB#5B79CB
#5B79CB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.130 H 267.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5B79CB |
|---|---|
| RGB | rgb(91, 121, 203) |
| HSL | hsl(224, 52%, 58%) |
| HSV | hsv(224, 55%, 80%) |
| CMYK | cmyk(55.2%, 40.4%, 0%, 20.4%) |
| CIE-LAB | lab(52.07, 13.24, -45.90) |
| CIE-LCH | lch(52.07, 47.77, 286.09°) |
| OKLab | oklab(59.14% -0.0063 -0.1302) |
| OKLCH | oklch(59.14% 0.13 267.2) |
| XYZ | xyz(21.9276, 20.2090, 59.2336) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.44
Lightish Blue
#3D7AFD
ΔE00 5.96
Royal Blue
#4169E1
ΔE00 6.16
Soft Blue
#6488EA
ΔE00 6.22
Cornflower
#6A79F7
ΔE00 6.55
Off Blue
#5684AE
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B79CB #CBAD5B
analogous
#5BB1CB #5B79CB #755BCB
triadic
#5B79CB #CB5B79 #79CB5B
tetradic
#5B79CB #CB5BB1 #CBAD5B #5BCB75
square
#5B79CB #CB5BB1 #CBAD5B #5BCB75
split-complementary
#5B79CB #CB755B #B1CB5B
monochromatic
#294182 #3858B1 #5B79CB #899FDA #B8C5E8
Accessibility & contrast
On white
4.16
#5B79CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#5B79CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B79CB
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B79CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B79CB | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#4978C9
Tritanopia (blue-blind)
#198B98
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5b79cb; /* rgb */ color: rgb(91, 121, 203); /* oklch */ color: oklch(59.1% 0.130 267.2);
Tailwind
colors: {
custom: {
50: '#919fdb',
500: '#5b79cb',
950: '#000000',
},
}SCSS
$custom: #5b79cb; $custom-light: #919fdb; $custom-dark: #000000;
JSON
{
"hex": "#5b79cb",
"rgb": {
"r": 91,
"g": 121,
"b": 203
},
"hsl": {
"h": 223.929,
"s": 51.852,
"l": 57.647
},
"oklch": {
"l": 0.59144,
"c": 0.13039,
"h": 267.2
},
"luminance": 0.20211
}Semantic roles & 50–950 ramp
primary
#5B79CB
secondary
#D7CBAA
accent
#B54CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83