#5D78F2#5D78F2
#5D78F2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.185 H 270.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5D78F2 |
|---|---|
| RGB | rgb(93, 120, 242) |
| HSL | hsl(229, 85%, 66%) |
| HSV | hsv(229, 62%, 95%) |
| CMYK | cmyk(61.6%, 50.4%, 0%, 5.1%) |
| CIE-LAB | lab(54.21, 27.09, -64.42) |
| CIE-LCH | lch(54.21, 69.89, 292.81°) |
| OKLab | oklab(61.54% 0.0023 -0.1846) |
| OKLCH | oklch(61.54% 0.185 270.7) |
| XYZ | xyz(27.2523, 22.1686, 86.8300) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.20
Lightish Blue
#3D7AFD
ΔE00 3.83
Cornflower Blue
#5170D7
ΔE00 4.81
Soft Blue
#6488EA
ΔE00 5.27
Clear Blue
#247AFD
ΔE00 5.59
Dodger Blue
#3E82FC
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D78F2 #F2D75D
analogous
#5DC2F2 #5D78F2 #8D5DF2
triadic
#5D78F2 #F25D78 #78F25D
tetradic
#5D78F2 #F25DC2 #F2D75D #5DF28D
square
#5D78F2 #F25DC2 #F2D75D #5DF28D
split-complementary
#5D78F2 #F28D5D #C2F25D
monochromatic
#1031C5 #2449ED #5D78F2 #96A7F7 #CED6FB
Accessibility & contrast
On white
3.86
#5D78F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#5D78F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D78F2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D78F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D78F2 | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3289F6
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5d78f2; /* rgb */ color: rgb(93, 120, 242); /* oklch */ color: oklch(61.5% 0.185 270.7);
Tailwind
colors: {
custom: {
50: '#989ef7',
500: '#5d78f2',
950: '#000000',
},
}SCSS
$custom: #5d78f2; $custom-light: #989ef7; $custom-dark: #000000;
JSON
{
"hex": "#5d78f2",
"rgb": {
"r": 93,
"g": 120,
"b": 242
},
"hsl": {
"h": 229.128,
"s": 85.143,
"l": 65.686
},
"oklch": {
"l": 0.61538,
"c": 0.18462,
"h": 270.7
},
"luminance": 0.22171
}Semantic roles & 50–950 ramp
primary
#5D78F2
secondary
#EEE5BD
accent
#B904E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85