#5E78EF#5E78EF
#5E78EF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.4% C 0.180 H 270.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5E78EF |
|---|---|
| RGB | rgb(94, 120, 239) |
| HSL | hsl(229, 82%, 65%) |
| HSV | hsv(229, 61%, 94%) |
| CMYK | cmyk(60.7%, 49.8%, 0%, 6.3%) |
| CIE-LAB | lab(54.07, 26.27, -62.97) |
| CIE-LCH | lch(54.07, 68.23, 292.65°) |
| OKLab | oklab(61.39% 0.003 -0.1803) |
| OKLCH | oklch(61.39% 0.18 270.9) |
| XYZ | xyz(26.9073, 22.0424, 84.4813) |
| Luminance | 0.2205 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.28
Lightish Blue
#3D7AFD
ΔE00 4.01
Cornflower Blue
#5170D7
ΔE00 4.58
Soft Blue
#6488EA
ΔE00 5.26
Clear Blue
#247AFD
ΔE00 5.71
Dodger Blue
#3E82FC
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E78EF #EFD55E
analogous
#5EC1EF #5E78EF #8C5EEF
triadic
#5E78EF #EF5E78 #78EF5E
tetradic
#5E78EF #EF5EC1 #EFD55E #5EEF8C
square
#5E78EF #EF5EC1 #EFD55E #5EEF8C
split-complementary
#5E78EF #EF8C5E #C1EF5E
monochromatic
#1332C0 #2649E9 #5E78EF #96A7F5 #CDD5FA
Accessibility & contrast
On white
3.88
#5E78EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#5E78EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E78EF
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E78EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E78EF | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#127BED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5e78ef; /* rgb */ color: rgb(94, 120, 239); /* oklch */ color: oklch(61.4% 0.180 270.9);
Tailwind
colors: {
custom: {
50: '#989ef5',
500: '#5e78ef',
950: '#000000',
},
}SCSS
$custom: #5e78ef; $custom-light: #989ef5; $custom-dark: #000000;
JSON
{
"hex": "#5e78ef",
"rgb": {
"r": 94,
"g": 120,
"b": 239
},
"hsl": {
"h": 229.241,
"s": 81.921,
"l": 65.294
},
"oklch": {
"l": 0.61391,
"c": 0.18032,
"h": 270.9
},
"luminance": 0.22045
}Semantic roles & 50–950 ramp
primary
#5E78EF
secondary
#EDE4BC
accent
#B807DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85