#5C78F0#5C78F0

#5C78F0 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.182 H 270.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5C78F0
RGBrgb(92, 120, 240)
HSLhsl(229, 83%, 65%)
HSVhsv(229, 62%, 94%)
CMYKcmyk(61.7%, 50%, 0%, 5.9%)
CIE-LABlab(54.02, 26.26, -63.61)
CIE-LCHlch(54.02, 68.81, 292.43°)
OKLaboklab(61.35% 0.0011 -0.1822)
OKLCHoklch(61.35% 0.182 270.3)
XYZxyz(26.8530, 21.9972, 85.2520)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C78F0 #F0D45C
analogous
#5CC2F0 #5C78F0 #8A5CF0
triadic
#5C78F0 #F05C78 #78F05C
tetradic
#5C78F0 #F05CC2 #F0D45C #5CF08A
square
#5C78F0 #F05CC2 #F0D45C #5CF08A
split-complementary
#5C78F0 #F08A5C #C2F05C
monochromatic
#1233C0 #244AEB #5C78F0 #94A6F5 #CCD5FA

Accessibility & contrast

On white

3.89
#5C78F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5C78F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C78F0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C78F0#FFFFFF#000000##000000
##5C78F01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F4
Deuteranopia (green-blind)
#087BEE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c78f0;
/* rgb */ color: rgb(92, 120, 240);
/* oklch */ color: oklch(61.3% 0.182 270.3);
Tailwind
colors: {
  custom: {
    50: '#979ef6',
    500: '#5c78f0',
    950: '#000000',
  },
}
SCSS
$custom: #5c78f0;
$custom-light: #979ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c78f0",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 228.649,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61345,
    "c": 0.18223,
    "h": 270.3
  },
  "luminance": 0.22
}

Semantic roles & 50–950 ramp

primary
#5C78F0
secondary
#EDE3BB
accent
#B606E0
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5C78F0

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

Preview Lab → · Contrast checker → · Palette generator →

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