#5E78DE#5E78DE
#5E78DE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.157 H 270.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5E78DE |
|---|---|
| RGB | rgb(94, 120, 222) |
| HSL | hsl(228, 66%, 62%) |
| HSV | hsv(228, 58%, 87%) |
| CMYK | cmyk(57.7%, 45.9%, 0%, 12.9%) |
| CIE-LAB | lab(53.04, 20.67, -55.10) |
| CIE-LCH | lch(53.04, 58.85, 290.56°) |
| OKLab | oklab(60.28% 0.001 -0.1572) |
| OKLCH | oklch(60.28% 0.157 270.4) |
| XYZ | xyz(24.5130, 21.0846, 71.8711) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.27
Cornflower
#6A79F7
ΔE00 4.01
Lightish Blue
#3D7AFD
ΔE00 4.76
Soft Blue
#6488EA
ΔE00 5.46
Royal Blue
#4169E1
ΔE00 5.73
Clear Blue
#247AFD
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E78DE #DEC45E
analogous
#5EB8DE #5E78DE #845EDE
triadic
#5E78DE #DE5E78 #78DE5E
tetradic
#5E78DE #DE5EB8 #DEC45E #5EDE84
square
#5E78DE #DE5EB8 #DEC45E #5EDE84
split-complementary
#5E78DE #DE845E #B8DE5E
monochromatic
#213BA1 #2B4DD3 #5E78DE #91A3E8 #C4CDF3
Accessibility & contrast
On white
4.02
#5E78DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#5E78DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E78DE
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E78DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E78DE | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4885E2
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5e78de; /* rgb */ color: rgb(94, 120, 222); /* oklch */ color: oklch(60.3% 0.157 270.4);
Tailwind
colors: {
custom: {
50: '#959ee9',
500: '#5e78de',
950: '#000000',
},
}SCSS
$custom: #5e78de; $custom-light: #959ee9; $custom-dark: #000000;
JSON
{
"hex": "#5e78de",
"rgb": {
"r": 94,
"g": 120,
"b": 222
},
"hsl": {
"h": 227.813,
"s": 65.979,
"l": 61.961
},
"oklch": {
"l": 0.60277,
"c": 0.15717,
"h": 270.4
},
"luminance": 0.21087
}Semantic roles & 50–950 ramp
primary
#5E78DE
secondary
#E4DAB4
accent
#A918CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84