#5B78CA#5B78CA
#5B78CA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.130 H 267.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5B78CA |
|---|---|
| RGB | rgb(91, 120, 202) |
| HSL | hsl(224, 51%, 57%) |
| HSV | hsv(224, 55%, 79%) |
| CMYK | cmyk(55%, 40.6%, 0%, 20.8%) |
| CIE-LAB | lab(51.75, 13.53, -45.85) |
| CIE-LCH | lch(51.75, 47.80, 286.44°) |
| OKLab | oklab(58.88% -0.0054 -0.1301) |
| OKLCH | oklch(58.88% 0.13 267.6) |
| XYZ | xyz(21.6880, 19.9197, 58.5677) |
| Luminance | 0.1992 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.22
Royal Blue
#4169E1
ΔE00 5.95
Lightish Blue
#3D7AFD
ΔE00 6.19
Soft Blue
#6488EA
ΔE00 6.58
Cornflower
#6A79F7
ΔE00 6.64
Windows Blue
#3778BF
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B78CA #CAAD5B
analogous
#5BB0CA #5B78CA #755BCA
triadic
#5B78CA #CA5B78 #78CA5B
tetradic
#5B78CA #CA5BB0 #CAAD5B #5BCA75
square
#5B78CA #CA5BB0 #CAAD5B #5BCA75
split-complementary
#5B78CA #CA755B #B0CA5B
monochromatic
#2A4081 #3958AF #5B78CA #899ED9 #B8C4E8
Accessibility & contrast
On white
4.21
#5B78CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#5B78CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B78CA
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B78CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B78CA | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#1C8A97
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5b78ca; /* rgb */ color: rgb(91, 120, 202); /* oklch */ color: oklch(58.9% 0.130 267.6);
Tailwind
colors: {
custom: {
50: '#919eda',
500: '#5b78ca',
950: '#000000',
},
}SCSS
$custom: #5b78ca; $custom-light: #919eda; $custom-dark: #000000;
JSON
{
"hex": "#5b78ca",
"rgb": {
"r": 91,
"g": 120,
"b": 202
},
"hsl": {
"h": 224.324,
"s": 51.152,
"l": 57.451
},
"oklch": {
"l": 0.58875,
"c": 0.1302,
"h": 267.6
},
"luminance": 0.19921
}Semantic roles & 50–950 ramp
primary
#5B78CA
secondary
#D7CBAA
accent
#B64DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83