#5A78DD#5A78DD
#5A78DD is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.0% C 0.157 H 268.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5A78DD |
|---|---|
| RGB | rgb(90, 120, 221) |
| HSL | hsl(226, 66%, 61%) |
| HSV | hsv(226, 59%, 87%) |
| CMYK | cmyk(59.3%, 45.7%, 0%, 13.3%) |
| CIE-LAB | lab(52.76, 19.57, -55.01) |
| CIE-LCH | lch(52.76, 58.38, 289.59°) |
| OKLab | oklab(59.98% -0.0031 -0.157) |
| OKLCH | oklch(59.98% 0.157 268.9) |
| XYZ | xyz(23.9797, 20.8251, 71.1486) |
| Luminance | 0.2083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.98
Lightish Blue
#3D7AFD
ΔE00 4.37
Cornflower
#6A79F7
ΔE00 4.57
Royal Blue
#4169E1
ΔE00 5.46
Soft Blue
#6488EA
ΔE00 5.47
Clear Blue
#247AFD
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A78DD #DDBF5A
analogous
#5AB9DD #5A78DD #7D5ADD
triadic
#5A78DD #DD5A78 #78DD5A
tetradic
#5A78DD #DD5AB9 #DDBF5A #5ADD7D
square
#5A78DD #DD5AB9 #DDBF5A #5ADD7D
split-complementary
#5A78DD #DD7D5A #B9DD5A
monochromatic
#203D9C #2B50CF #5A78DD #8DA2E7 #BFCBF2
Accessibility & contrast
On white
4.07
#5A78DD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#5A78DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A78DD
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A78DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A78DD | 1.00 | 4.07 | 5.17 | 5.17 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4884E1
Deuteranopia (green-blind)
#3478DB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5a78dd; /* rgb */ color: rgb(90, 120, 221); /* oklch */ color: oklch(60.0% 0.157 268.9);
Tailwind
colors: {
custom: {
50: '#939ee8',
500: '#5a78dd',
950: '#000000',
},
}SCSS
$custom: #5a78dd; $custom-light: #939ee8; $custom-dark: #000000;
JSON
{
"hex": "#5a78dd",
"rgb": {
"r": 90,
"g": 120,
"b": 221
},
"hsl": {
"h": 226.26,
"s": 65.829,
"l": 60.98
},
"oklch": {
"l": 0.59982,
"c": 0.15701,
"h": 268.9
},
"luminance": 0.20827
}Semantic roles & 50–950 ramp
primary
#5A78DD
secondary
#E2D7B1
accent
#A418CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84