#5C78EF#5C78EF
#5C78EF is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.3% C 0.181 H 270.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5C78EF |
|---|---|
| RGB | rgb(92, 120, 239) |
| HSL | hsl(229, 82%, 65%) |
| HSV | hsv(229, 62%, 94%) |
| CMYK | cmyk(61.5%, 49.8%, 0%, 6.3%) |
| CIE-LAB | lab(53.96, 25.93, -63.15) |
| CIE-LCH | lch(53.96, 68.26, 292.32°) |
| OKLab | oklab(61.28% 0.001 -0.1809) |
| OKLCH | oklch(61.28% 0.181 270.3) |
| XYZ | xyz(26.7049, 21.9380, 84.4718) |
| Luminance | 0.2194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.55
Lightish Blue
#3D7AFD
ΔE00 3.72
Cornflower Blue
#5170D7
ΔE00 4.45
Soft Blue
#6488EA
ΔE00 5.21
Clear Blue
#247AFD
ΔE00 5.41
Dodger Blue
#3E82FC
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C78EF #EFD35C
analogous
#5CC2EF #5C78EF #895CEF
triadic
#5C78EF #EF5C78 #78EF5C
tetradic
#5C78EF #EF5CC2 #EFD35C #5CEF89
square
#5C78EF #EF5CC2 #EFD35C #5CEF89
split-complementary
#5C78EF #EF895C #C2EF5C
monochromatic
#1333BE #244AEA #5C78EF #94A6F4 #CBD4FA
Accessibility & contrast
On white
3.90
#5C78EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#5C78EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C78EF
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C78EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C78EF | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3688F3
Deuteranopia (green-blind)
#0D7BED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5c78ef; /* rgb */ color: rgb(92, 120, 239); /* oklch */ color: oklch(61.3% 0.181 270.3);
Tailwind
colors: {
custom: {
50: '#979ef5',
500: '#5c78ef',
950: '#000000',
},
}SCSS
$custom: #5c78ef; $custom-light: #979ef5; $custom-dark: #000000;
JSON
{
"hex": "#5c78ef",
"rgb": {
"r": 92,
"g": 120,
"b": 239
},
"hsl": {
"h": 228.571,
"s": 82.123,
"l": 64.902
},
"oklch": {
"l": 0.61278,
"c": 0.18088,
"h": 270.3
},
"luminance": 0.2194
}Semantic roles & 50–950 ramp
primary
#5C78EF
secondary
#ECE3BA
accent
#B507DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85