#5E78EA#5E78EA
#5E78EA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.174 H 270.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5E78EA |
|---|---|
| RGB | rgb(94, 120, 234) |
| HSL | hsl(229, 77%, 64%) |
| HSV | hsv(229, 60%, 92%) |
| CMYK | cmyk(59.8%, 48.7%, 0%, 8.2%) |
| CIE-LAB | lab(53.76, 24.62, -60.68) |
| CIE-LCH | lch(53.76, 65.48, 292.09°) |
| OKLab | oklab(61.06% 0.0025 -0.1736) |
| OKLCH | oklch(61.06% 0.174 270.8) |
| XYZ | xyz(26.1789, 21.7510, 80.6447) |
| Luminance | 0.2175 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.72
Cornflower Blue
#5170D7
ΔE00 4.12
Lightish Blue
#3D7AFD
ΔE00 4.13
Soft Blue
#6488EA
ΔE00 5.24
Clear Blue
#247AFD
ΔE00 5.73
Dodger Blue
#3E82FC
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E78EA #EAD05E
analogous
#5EBEEA #5E78EA #8A5EEA
triadic
#5E78EA #EA5E78 #78EA5E
tetradic
#5E78EA #EA5EBE #EAD05E #5EEA8A
square
#5E78EA #EA5EBE #EAD05E #5EEA8A
split-complementary
#5E78EA #EA8A5E #BEEA5E
monochromatic
#1835B6 #284BE3 #5E78EA #94A5F1 #CAD3F8
Accessibility & contrast
On white
3.92
#5E78EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#5E78EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E78EA
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E78EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E78EA | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#217BE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5e78ea; /* rgb */ color: rgb(94, 120, 234); /* oklch */ color: oklch(61.1% 0.174 270.8);
Tailwind
colors: {
custom: {
50: '#979ef1',
500: '#5e78ea',
950: '#000000',
},
}SCSS
$custom: #5e78ea; $custom-light: #979ef1; $custom-dark: #000000;
JSON
{
"hex": "#5e78ea",
"rgb": {
"r": 94,
"g": 120,
"b": 234
},
"hsl": {
"h": 228.857,
"s": 76.923,
"l": 64.314
},
"oklch": {
"l": 0.61057,
"c": 0.17358,
"h": 270.8
},
"luminance": 0.21753
}Semantic roles & 50–950 ramp
primary
#5E78EA
secondary
#EAE1BA
accent
#B30CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85