#5C78EC#5C78EC

#5C78EC is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.177 H 270.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5C78EC
RGBrgb(92, 120, 236)
HSLhsl(228, 79%, 64%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(61%, 49.2%, 0%, 7.5%)
CIE-LABlab(53.77, 24.93, -61.78)
CIE-LCHlch(53.77, 66.62, 291.97°)
OKLaboklab(61.08% 0.0007 -0.1768)
OKLCHoklch(61.08% 0.177 270.2)
XYZxyz(26.2653, 21.7622, 82.1570)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C78EC #ECD05C
analogous
#5CC0EC #5C78EC #885CEC
triadic
#5C78EC #EC5C78 #78EC5C
tetradic
#5C78EC #EC5CC0 #ECD05C #5CEC88
square
#5C78EC #EC5CC0 #ECD05C #5CEC88
split-complementary
#5C78EC #EC885C #C0EC5C
monochromatic
#1535B8 #254BE6 #5C78EC #93A5F2 #CAD3F9

Accessibility & contrast

On white

3.92
#5C78EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5C78EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C78EC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C78EC#FFFFFF#000000##000000
##5C78EC1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#197AEA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c78ec;
/* rgb */ color: rgb(92, 120, 236);
/* oklch */ color: oklch(61.1% 0.177 270.2);
Tailwind
colors: {
  custom: {
    50: '#979ef3',
    500: '#5c78ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c78ec;
$custom-light: #979ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c78ec",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 228.333,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61076,
    "c": 0.17685,
    "h": 270.2
  },
  "luminance": 0.21764
}

Semantic roles & 50–950 ramp

primary
#5C78EC
secondary
#EBE1B9
accent
#B30ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C78EC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5C78EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva