#5C78EE#5C78EE

#5C78EE is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.180 H 270.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5C78EE
RGBrgb(92, 120, 238)
HSLhsl(228, 81%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(61.3%, 49.6%, 0%, 6.7%)
CIE-LABlab(53.90, 25.59, -62.69)
CIE-LCHlch(53.90, 67.72, 292.21°)
OKLaboklab(61.21% 0.0009 -0.1795)
OKLCHoklch(61.21% 0.18 270.3)
XYZxyz(26.5575, 21.8790, 83.6959)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C78EE #EED25C
analogous
#5CC1EE #5C78EE #895CEE
triadic
#5C78EE #EE5C78 #78EE5C
tetradic
#5C78EE #EE5CC1 #EED25C #5CEE89
square
#5C78EE #EE5CC1 #EED25C #5CEE89
split-complementary
#5C78EE #EE895C #C1EE5C
monochromatic
#1434BC #254AE8 #5C78EE #93A6F4 #CBD4FA

Accessibility & contrast

On white

3.91
#5C78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5C78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C78EE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C78EE#FFFFFF#000000##000000
##5C78EE1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F2
Deuteranopia (green-blind)
#127BEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c78ee;
/* rgb */ color: rgb(92, 120, 238);
/* oklch */ color: oklch(61.2% 0.180 270.3);
Tailwind
colors: {
  custom: {
    50: '#979ef4',
    500: '#5c78ee',
    950: '#000000',
  },
}
SCSS
$custom: #5c78ee;
$custom-light: #979ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c78ee",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 228.493,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6121,
    "c": 0.17954,
    "h": 270.3
  },
  "luminance": 0.21881
}

Semantic roles & 50–950 ramp

primary
#5C78EE
secondary
#ECE2BA
accent
#B508DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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