#5E78DC#5E78DC

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

Color values

HEX#5E78DC
RGBrgb(94, 120, 220)
HSLhsl(228, 64%, 62%)
HSVhsv(228, 57%, 86%)
CMYKcmyk(57.3%, 45.5%, 0%, 13.7%)
CIE-LABlab(52.93, 20.02, -54.16)
CIE-LCHlch(52.93, 57.74, 290.28°)
OKLaboklab(60.15% 0.0007 -0.1544)
OKLCHoklch(60.15% 0.154 270.3)
XYZxyz(24.2465, 20.9781, 70.4677)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E78DC #DCC25E
analogous
#5EB7DC #5E78DC #835EDC
triadic
#5E78DC #DC5E78 #78DC5E
tetradic
#5E78DC #DC5EB7 #DCC25E #5EDC83
square
#5E78DC #DC5EB7 #DCC25E #5EDC83
split-complementary
#5E78DC #DC835E #B7DC5E
monochromatic
#223C9D #2D4FD0 #5E78DC #90A2E7 #C3CCF2

Accessibility & contrast

On white

4.04
#5E78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5E78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E78DC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E78DC#FFFFFF#000000##000000
##5E78DC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#3879DA
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e78dc;
/* rgb */ color: rgb(94, 120, 220);
/* oklch */ color: oklch(60.2% 0.154 270.3);
Tailwind
colors: {
  custom: {
    50: '#959ee7',
    500: '#5e78dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e78dc;
$custom-light: #959ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e78dc",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 227.619,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60151,
    "c": 0.15441,
    "h": 270.3
  },
  "luminance": 0.2098
}

Semantic roles & 50–950 ramp

primary
#5E78DC
secondary
#E2D9B3
accent
#A719CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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