#5D78E2#5D78E2
#5D78E2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.163 H 270.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5D78E2 |
|---|---|
| RGB | rgb(93, 120, 226) |
| HSL | hsl(228, 70%, 63%) |
| HSV | hsv(228, 59%, 89%) |
| CMYK | cmyk(58.8%, 46.9%, 0%, 11.4%) |
| CIE-LAB | lab(53.22, 21.79, -57.07) |
| CIE-LCH | lch(53.22, 61.09, 290.90°) |
| OKLab | oklab(60.48% 0.0005 -0.163) |
| OKLCH | oklch(60.48% 0.163 270.2) |
| XYZ | xyz(24.9536, 21.2491, 74.7233) |
| Luminance | 0.2125 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.43
Cornflower
#6A79F7
ΔE00 3.68
Lightish Blue
#3D7AFD
ΔE00 4.37
Soft Blue
#6488EA
ΔE00 5.33
Royal Blue
#4169E1
ΔE00 5.72
Clear Blue
#247AFD
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D78E2 #E2C75D
analogous
#5DBAE2 #5D78E2 #855DE2
triadic
#5D78E2 #E25D78 #78E25D
tetradic
#5D78E2 #E25DBA #E2C75D #5DE285
square
#5D78E2 #E25DBA #E2C75D #5DE285
split-complementary
#5D78E2 #E2855D #BAE25D
monochromatic
#1E3AA7 #294DD9 #5D78E2 #91A3EB #C5CFF5
Accessibility & contrast
On white
4.00
#5D78E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#5D78E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D78E2
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D78E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D78E2 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4485E6
Deuteranopia (green-blind)
#2F7AE0
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5d78e2; /* rgb */ color: rgb(93, 120, 226); /* oklch */ color: oklch(60.5% 0.163 270.2);
Tailwind
colors: {
custom: {
50: '#959eec',
500: '#5d78e2',
950: '#000000',
},
}SCSS
$custom: #5d78e2; $custom-light: #959eec; $custom-dark: #000000;
JSON
{
"hex": "#5d78e2",
"rgb": {
"r": 93,
"g": 120,
"b": 226
},
"hsl": {
"h": 227.82,
"s": 69.634,
"l": 62.549
},
"oklch": {
"l": 0.60475,
"c": 0.16297,
"h": 270.2
},
"luminance": 0.21251
}Semantic roles & 50–950 ramp
primary
#5D78E2
secondary
#E6DCB5
accent
#AB14D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84