#5E78EC#5E78EC
#5E78EC is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.176 H 270.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5E78EC |
|---|---|
| RGB | rgb(94, 120, 236) |
| HSL | hsl(229, 79%, 65%) |
| HSV | hsv(229, 60%, 93%) |
| CMYK | cmyk(60.2%, 49.2%, 0%, 7.5%) |
| CIE-LAB | lab(53.89, 25.28, -61.59) |
| CIE-LCH | lch(53.89, 66.58, 292.32°) |
| OKLab | oklab(61.19% 0.0027 -0.1763) |
| OKLCH | oklch(61.19% 0.176 270.9) |
| XYZ | xyz(26.4678, 21.8666, 82.1665) |
| Luminance | 0.2187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.54
Lightish Blue
#3D7AFD
ΔE00 4.07
Cornflower Blue
#5170D7
ΔE00 4.30
Soft Blue
#6488EA
ΔE00 5.24
Clear Blue
#247AFD
ΔE00 5.71
Dodger Blue
#3E82FC
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E78EC #ECD25E
analogous
#5EBFEC #5E78EC #8B5EEC
triadic
#5E78EC #EC5E78 #78EC5E
tetradic
#5E78EC #EC5EBF #ECD25E #5EEC8B
square
#5E78EC #EC5EBF #ECD25E #5EEC8B
split-complementary
#5E78EC #EC8B5E #BFEC5E
monochromatic
#1634BA #274AE6 #5E78EC #95A6F2 #CBD4F9
Accessibility & contrast
On white
3.91
#5E78EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#5E78EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E78EC
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E78EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E78EC | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#1C7BEA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5e78ec; /* rgb */ color: rgb(94, 120, 236); /* oklch */ color: oklch(61.2% 0.176 270.9);
Tailwind
colors: {
custom: {
50: '#989ef3',
500: '#5e78ec',
950: '#000000',
},
}SCSS
$custom: #5e78ec; $custom-light: #989ef3; $custom-dark: #000000;
JSON
{
"hex": "#5e78ec",
"rgb": {
"r": 94,
"g": 120,
"b": 236
},
"hsl": {
"h": 229.014,
"s": 78.889,
"l": 64.706
},
"oklch": {
"l": 0.6119,
"c": 0.17628,
"h": 270.9
},
"luminance": 0.21869
}Semantic roles & 50–950 ramp
primary
#5E78EC
secondary
#EBE2BB
accent
#B50ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85