#5B78F5#5B78F5
#5B78F5 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.189 H 270.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5B78F5 |
|---|---|
| RGB | rgb(91, 120, 245) |
| HSL | hsl(229, 89%, 66%) |
| HSV | hsv(229, 63%, 96%) |
| CMYK | cmyk(62.9%, 51%, 0%, 3.9%) |
| CIE-LAB | lab(54.29, 27.76, -65.96) |
| CIE-LCH | lch(54.29, 71.57, 292.82°) |
| OKLab | oklab(61.63% 0.0006 -0.1892) |
| OKLCH | oklch(61.63% 0.189 270.2) |
| XYZ | xyz(27.5067, 22.2472, 89.2131) |
| Luminance | 0.2225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.31
Lightish Blue
#3D7AFD
ΔE00 3.56
Cornflower Blue
#5170D7
ΔE00 4.99
Soft Blue
#6488EA
ΔE00 5.28
Clear Blue
#247AFD
ΔE00 5.34
Dodger Blue
#3E82FC
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B78F5 #F5D85B
analogous
#5BC5F5 #5B78F5 #8B5BF5
triadic
#5B78F5 #F55B78 #78F55B
tetradic
#5B78F5 #F55BC5 #F5D85B #5BF58B
square
#5B78F5 #F55BC5 #F5D85B #5BF58B
split-complementary
#5B78F5 #F58B5B #C5F55B
monochromatic
#0C30C9 #2149F1 #5B78F5 #95A7F9 #CED7FC
Accessibility & contrast
On white
3.85
#5B78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#5B78F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B78F5
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B78F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B78F5 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D89F9
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5b78f5; /* rgb */ color: rgb(91, 120, 245); /* oklch */ color: oklch(61.6% 0.189 270.2);
Tailwind
colors: {
custom: {
50: '#979ef9',
500: '#5b78f5',
950: '#000000',
},
}SCSS
$custom: #5b78f5; $custom-light: #979ef9; $custom-dark: #000000;
JSON
{
"hex": "#5b78f5",
"rgb": {
"r": 91,
"g": 120,
"b": 245
},
"hsl": {
"h": 228.701,
"s": 88.506,
"l": 65.882
},
"oklch": {
"l": 0.61633,
"c": 0.18918,
"h": 270.2
},
"luminance": 0.2225
}Semantic roles & 50–950 ramp
primary
#5B78F5
secondary
#EFE6BC
accent
#BA00E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85