#5E78EE#5E78EE
#5E78EE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.179 H 270.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5E78EE |
|---|---|
| RGB | rgb(94, 120, 238) |
| HSL | hsl(229, 81%, 65%) |
| HSV | hsv(229, 61%, 93%) |
| CMYK | cmyk(60.5%, 49.6%, 0%, 6.7%) |
| CIE-LAB | lab(54.01, 25.94, -62.51) |
| CIE-LCH | lch(54.01, 67.68, 292.54°) |
| OKLab | oklab(61.32% 0.0029 -0.179) |
| OKLCH | oklch(61.32% 0.179 270.9) |
| XYZ | xyz(26.7600, 21.9835, 83.7054) |
| Luminance | 0.2199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.36
Lightish Blue
#3D7AFD
ΔE00 4.02
Cornflower Blue
#5170D7
ΔE00 4.49
Soft Blue
#6488EA
ΔE00 5.25
Clear Blue
#247AFD
ΔE00 5.71
Dodger Blue
#3E82FC
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E78EE #EED45E
analogous
#5EC0EE #5E78EE #8C5EEE
triadic
#5E78EE #EE5E78 #78EE5E
tetradic
#5E78EE #EE5EC0 #EED45E #5EEE8C
square
#5E78EE #EE5EC0 #EED45E #5EEE8C
split-complementary
#5E78EE #EE8C5E #C0EE5E
monochromatic
#1433BE #274AE8 #5E78EE #95A6F4 #CDD5FA
Accessibility & contrast
On white
3.89
#5E78EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#5E78EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E78EE
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E78EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E78EE | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3888F2
Deuteranopia (green-blind)
#167BEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5e78ee; /* rgb */ color: rgb(94, 120, 238); /* oklch */ color: oklch(61.3% 0.179 270.9);
Tailwind
colors: {
custom: {
50: '#989ef4',
500: '#5e78ee',
950: '#000000',
},
}SCSS
$custom: #5e78ee; $custom-light: #989ef4; $custom-dark: #000000;
JSON
{
"hex": "#5e78ee",
"rgb": {
"r": 94,
"g": 120,
"b": 238
},
"hsl": {
"h": 229.167,
"s": 80.899,
"l": 65.098
},
"oklch": {
"l": 0.61324,
"c": 0.17898,
"h": 270.9
},
"luminance": 0.21986
}Semantic roles & 50–950 ramp
primary
#5E78EE
secondary
#ECE3BB
accent
#B708DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85