#5B78EE#5B78EE
#5B78EE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.2% C 0.180 H 270.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5B78EE |
|---|---|
| RGB | rgb(91, 120, 238) |
| HSL | hsl(228, 81%, 65%) |
| HSV | hsv(228, 62%, 93%) |
| CMYK | cmyk(61.8%, 49.6%, 0%, 6.7%) |
| CIE-LAB | lab(53.84, 25.42, -62.78) |
| CIE-LCH | lch(53.84, 67.73, 292.04°) |
| OKLab | oklab(61.15% -0.0001 -0.1798) |
| OKLCH | oklch(61.15% 0.18 270) |
| XYZ | xyz(26.4583, 21.8279, 83.6912) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.77
Lightish Blue
#3D7AFD
ΔE00 3.61
Cornflower Blue
#5170D7
ΔE00 4.30
Soft Blue
#6488EA
ΔE00 5.18
Clear Blue
#247AFD
ΔE00 5.26
Dodger Blue
#3E82FC
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B78EE #EED15B
analogous
#5BC2EE #5B78EE #885BEE
triadic
#5B78EE #EE5B78 #78EE5B
tetradic
#5B78EE #EE5BC2 #EED15B #5BEE88
square
#5B78EE #EE5BC2 #EED15B #5BEE88
split-complementary
#5B78EE #EE885B #C2EE5B
monochromatic
#1335BB #244AE8 #5B78EE #92A6F4 #CAD3F9
Accessibility & contrast
On white
3.91
#5B78EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#5B78EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B78EE
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B78EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B78EE | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3788F2
Deuteranopia (green-blind)
#107AEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5b78ee; /* rgb */ color: rgb(91, 120, 238); /* oklch */ color: oklch(61.2% 0.180 270.0);
Tailwind
colors: {
custom: {
50: '#969ef4',
500: '#5b78ee',
950: '#000000',
},
}SCSS
$custom: #5b78ee; $custom-light: #969ef4; $custom-dark: #000000;
JSON
{
"hex": "#5b78ee",
"rgb": {
"r": 91,
"g": 120,
"b": 238
},
"hsl": {
"h": 228.163,
"s": 81.215,
"l": 64.51
},
"oklch": {
"l": 0.61154,
"c": 0.17983,
"h": 270
},
"luminance": 0.2183
}Semantic roles & 50–950 ramp
primary
#5B78EE
secondary
#ECE2B9
accent
#B308DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85