#5D78EB#5D78EB
#5D78EB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.175 H 270.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5D78EB |
|---|---|
| RGB | rgb(93, 120, 235) |
| HSL | hsl(229, 78%, 64%) |
| HSV | hsv(229, 60%, 92%) |
| CMYK | cmyk(60.4%, 48.9%, 0%, 7.8%) |
| CIE-LAB | lab(53.77, 24.77, -61.23) |
| CIE-LCH | lch(53.77, 66.05, 292.03°) |
| OKLab | oklab(61.07% 0.0016 -0.1752) |
| OKLCH | oklch(61.07% 0.175 270.5) |
| XYZ | xyz(26.2210, 21.7561, 81.3987) |
| Luminance | 0.2176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.76
Lightish Blue
#3D7AFD
ΔE00 3.96
Cornflower Blue
#5170D7
ΔE00 4.14
Soft Blue
#6488EA
ΔE00 5.21
Clear Blue
#247AFD
ΔE00 5.57
Dodger Blue
#3E82FC
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D78EB #EBD05D
analogous
#5DBFEB #5D78EB #895DEB
triadic
#5D78EB #EB5D78 #78EB5D
tetradic
#5D78EB #EB5DBF #EBD05D #5DEB89
square
#5D78EB #EB5DBF #EBD05D #5DEB89
split-complementary
#5D78EB #EB895D #BFEB5D
monochromatic
#1735B7 #274BE4 #5D78EB #93A5F2 #CAD3F8
Accessibility & contrast
On white
3.92
#5D78EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#5D78EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D78EB
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D78EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D78EB | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#1D7BE9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5d78eb; /* rgb */ color: rgb(93, 120, 235); /* oklch */ color: oklch(61.1% 0.175 270.5);
Tailwind
colors: {
custom: {
50: '#979ef2',
500: '#5d78eb',
950: '#000000',
},
}SCSS
$custom: #5d78eb; $custom-light: #979ef2; $custom-dark: #000000;
JSON
{
"hex": "#5d78eb",
"rgb": {
"r": 93,
"g": 120,
"b": 235
},
"hsl": {
"h": 228.592,
"s": 78.022,
"l": 64.314
},
"oklch": {
"l": 0.61066,
"c": 0.17522,
"h": 270.5
},
"luminance": 0.21758
}Semantic roles & 50–950 ramp
primary
#5D78EB
secondary
#EBE1B9
accent
#B30BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85