#5C78ED#5C78ED

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

Color values

HEX#5C78ED
RGBrgb(92, 120, 237)
HSLhsl(228, 80%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(61.2%, 49.4%, 0%, 7.1%)
CIE-LABlab(53.84, 25.26, -62.24)
CIE-LCHlch(53.84, 67.17, 292.09°)
OKLaboklab(61.14% 0.0008 -0.1782)
OKLCHoklch(61.14% 0.178 270.3)
XYZxyz(26.4110, 21.8204, 82.9243)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C78ED #EDD15C
analogous
#5CC0ED #5C78ED #895CED
triadic
#5C78ED #ED5C78 #78ED5C
tetradic
#5C78ED #ED5CC0 #EDD15C #5CED89
square
#5C78ED #ED5CC0 #EDD15C #5CED89
split-complementary
#5C78ED #ED895C #C0ED5C
monochromatic
#1535BA #254AE7 #5C78ED #93A6F3 #CAD3F9

Accessibility & contrast

On white

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

On black

5.36
#5C78ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C78ED
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C78ED#FFFFFF#000000##000000
##5C78ED1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F1
Deuteranopia (green-blind)
#167BEB
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c78ed;
/* rgb */ color: rgb(92, 120, 237);
/* oklch */ color: oklch(61.1% 0.178 270.3);
Tailwind
colors: {
  custom: {
    50: '#979ef3',
    500: '#5c78ed',
    950: '#000000',
  },
}
SCSS
$custom: #5c78ed;
$custom-light: #979ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c78ed",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 228.414,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61143,
    "c": 0.1782,
    "h": 270.3
  },
  "luminance": 0.21823
}

Semantic roles & 50–950 ramp

primary
#5C78ED
secondary
#EBE2B9
accent
#B409DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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