#5C78DF#5C78DF

#5C78DF is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.2% C 0.159 H 269.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5C78DF
RGBrgb(92, 120, 223)
HSLhsl(227, 67%, 62%)
HSVhsv(227, 59%, 87%)
CMYKcmyk(58.7%, 46.2%, 0%, 12.5%)
CIE-LABlab(52.99, 20.61, -55.76)
CIE-LCHlch(52.99, 59.45, 290.29°)
OKLaboklab(60.22% -0.0009 -0.1592)
OKLCHoklch(60.22% 0.159 269.7)
XYZxyz(24.4449, 21.0340, 72.5695)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C78DF #DFC35C
analogous
#5CB9DF #5C78DF #825CDF
triadic
#5C78DF #DF5C78 #78DF5C
tetradic
#5C78DF #DF5CB9 #DFC35C #5CDF82
square
#5C78DF #DF5CB9 #DFC35C #5CDF82
split-complementary
#5C78DF #DF825C #B9DF5C
monochromatic
#203BA1 #2A4ED4 #5C78DF #8FA2E9 #C2CDF3

Accessibility & contrast

On white

4.03
#5C78DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5C78DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C78DF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C78DF#FFFFFF#000000##000000
##5C78DF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c78df;
/* rgb */ color: rgb(92, 120, 223);
/* oklch */ color: oklch(60.2% 0.159 269.7);
Tailwind
colors: {
  custom: {
    50: '#959ee9',
    500: '#5c78df',
    950: '#000000',
  },
}
SCSS
$custom: #5c78df;
$custom-light: #959ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c78df",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 227.176,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60224,
    "c": 0.15915,
    "h": 269.7
  },
  "luminance": 0.21036
}

Semantic roles & 50–950 ramp

primary
#5C78DF
secondary
#E4D9B3
accent
#A816CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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