#5B78EA#5B78EA
#5B78EA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.9% C 0.174 H 269.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5B78EA |
|---|---|
| RGB | rgb(91, 120, 234) |
| HSL | hsl(228, 77%, 64%) |
| HSV | hsv(228, 61%, 92%) |
| CMYK | cmyk(61.1%, 48.7%, 0%, 8.2%) |
| CIE-LAB | lab(53.60, 24.08, -60.95) |
| CIE-LCH | lch(53.60, 65.54, 291.56°) |
| OKLab | oklab(60.89% -0.0005 -0.1744) |
| OKLCH | oklch(60.89% 0.174 269.8) |
| XYZ | xyz(25.8771, 21.5954, 80.6306) |
| Luminance | 0.2160 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.12
Lightish Blue
#3D7AFD
ΔE00 3.72
Cornflower Blue
#5170D7
ΔE00 3.93
Soft Blue
#6488EA
ΔE00 5.18
Clear Blue
#247AFD
ΔE00 5.28
Dodger Blue
#3E82FC
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B78EA #EACD5B
analogous
#5BBFEA #5B78EA #855BEA
triadic
#5B78EA #EA5B78 #78EA5B
tetradic
#5B78EA #EA5BBF #EACD5B #5BEA85
square
#5B78EA #EA5BBF #EACD5B #5BEA85
split-complementary
#5B78EA #EA855B #BFEA5B
monochromatic
#1737B4 #254BE3 #5B78EA #91A5F1 #C8D1F8
Accessibility & contrast
On white
3.95
#5B78EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#5B78EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B78EA
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B78EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B78EA | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#1D7AE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5b78ea; /* rgb */ color: rgb(91, 120, 234); /* oklch */ color: oklch(60.9% 0.174 269.8);
Tailwind
colors: {
custom: {
50: '#969ef1',
500: '#5b78ea',
950: '#000000',
},
}SCSS
$custom: #5b78ea; $custom-light: #969ef1; $custom-dark: #000000;
JSON
{
"hex": "#5b78ea",
"rgb": {
"r": 91,
"g": 120,
"b": 234
},
"hsl": {
"h": 227.832,
"s": 77.297,
"l": 63.725
},
"oklch": {
"l": 0.60886,
"c": 0.17444,
"h": 269.8
},
"luminance": 0.21598
}Semantic roles & 50–950 ramp
primary
#5B78EA
secondary
#EADFB7
accent
#B00CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85