#5E78DC#5E78DC
#5E78DC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.2% C 0.154 H 270.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5E78DC |
|---|---|
| RGB | rgb(94, 120, 220) |
| HSL | hsl(228, 64%, 62%) |
| HSV | hsv(228, 57%, 86%) |
| CMYK | cmyk(57.3%, 45.5%, 0%, 13.7%) |
| CIE-LAB | lab(52.93, 20.02, -54.16) |
| CIE-LCH | lch(52.93, 57.74, 290.28°) |
| OKLab | oklab(60.15% 0.0007 -0.1544) |
| OKLCH | oklch(60.15% 0.154 270.3) |
| XYZ | xyz(24.2465, 20.9781, 70.4677) |
| Luminance | 0.2098 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.19
Cornflower
#6A79F7
ΔE00 4.25
Lightish Blue
#3D7AFD
ΔE00 4.90
Soft Blue
#6488EA
ΔE00 5.53
Royal Blue
#4169E1
ΔE00 5.72
Clear Blue
#247AFD
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E78DC #DCC25E
analogous
#5EB7DC #5E78DC #835EDC
triadic
#5E78DC #DC5E78 #78DC5E
tetradic
#5E78DC #DC5EB7 #DCC25E #5EDC83
square
#5E78DC #DC5EB7 #DCC25E #5EDC83
split-complementary
#5E78DC #DC835E #B7DC5E
monochromatic
#223C9D #2D4FD0 #5E78DC #90A2E7 #C3CCF2
Accessibility & contrast
On white
4.04
#5E78DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#5E78DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E78DC
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E78DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E78DC | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#3879DA
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5e78dc; /* rgb */ color: rgb(94, 120, 220); /* oklch */ color: oklch(60.2% 0.154 270.3);
Tailwind
colors: {
custom: {
50: '#959ee7',
500: '#5e78dc',
950: '#000000',
},
}SCSS
$custom: #5e78dc; $custom-light: #959ee7; $custom-dark: #000000;
JSON
{
"hex": "#5e78dc",
"rgb": {
"r": 94,
"g": 120,
"b": 220
},
"hsl": {
"h": 227.619,
"s": 64.286,
"l": 61.569
},
"oklch": {
"l": 0.60151,
"c": 0.15441,
"h": 270.3
},
"luminance": 0.2098
}Semantic roles & 50–950 ramp
primary
#5E78DC
secondary
#E2D9B3
accent
#A719CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84