#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
RGBrgb(92, 120, 239)
HSLhsl(229, 82%, 65%)
HSVhsv(229, 62%, 94%)
CMYKcmyk(61.5%, 49.8%, 0%, 6.3%)
CIE-LABlab(53.96, 25.93, -63.15)
CIE-LCHlch(53.96, 68.26, 292.32°)
OKLaboklab(61.28% 0.001 -0.1809)
OKLCHoklch(61.28% 0.181 270.3)
XYZxyz(26.7049, 21.9380, 84.4718)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##5C78EF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.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

Preview Lab

Preview with #5C78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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