#5A78EE#5A78EE
#5A78EE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.180 H 269.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5A78EE |
|---|---|
| RGB | rgb(90, 120, 238) |
| HSL | hsl(228, 81%, 64%) |
| HSV | hsv(228, 62%, 93%) |
| CMYK | cmyk(62.2%, 49.6%, 0%, 6.7%) |
| CIE-LAB | lab(53.79, 25.25, -62.87) |
| CIE-LCH | lch(53.79, 67.75, 291.88°) |
| OKLab | oklab(61.1% -0.001 -0.1801) |
| OKLCH | oklch(61.1% 0.18 269.7) |
| XYZ | xyz(26.3603, 21.7774, 83.6866) |
| Luminance | 0.2178 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.91
Lightish Blue
#3D7AFD
ΔE00 3.47
Cornflower Blue
#5170D7
ΔE00 4.24
Clear Blue
#247AFD
ΔE00 5.12
Soft Blue
#6488EA
ΔE00 5.17
Dodger Blue
#3E82FC
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A78EE #EED05A
analogous
#5AC2EE #5A78EE #865AEE
triadic
#5A78EE #EE5A78 #78EE5A
tetradic
#5A78EE #EE5AC2 #EED05A #5AEE86
square
#5A78EE #EE5AC2 #EED05A #5AEE86
split-complementary
#5A78EE #EE865A #C2EE5A
monochromatic
#1335BA #234BE8 #5A78EE #91A5F4 #C9D3F9
Accessibility & contrast
On white
3.92
#5A78EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#5A78EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A78EE
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A78EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A78EE | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3787F2
Deuteranopia (green-blind)
#0E7AEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5a78ee; /* rgb */ color: rgb(90, 120, 238); /* oklch */ color: oklch(61.1% 0.180 269.7);
Tailwind
colors: {
custom: {
50: '#969ef4',
500: '#5a78ee',
950: '#000000',
},
}SCSS
$custom: #5a78ee; $custom-light: #969ef4; $custom-dark: #000000;
JSON
{
"hex": "#5a78ee",
"rgb": {
"r": 90,
"g": 120,
"b": 238
},
"hsl": {
"h": 227.838,
"s": 81.319,
"l": 64.314
},
"oklch": {
"l": 0.61099,
"c": 0.18012,
"h": 269.7
},
"luminance": 0.2178
}Semantic roles & 50–950 ramp
primary
#5A78EE
secondary
#ECE1B8
accent
#B208DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85