#5D78EA#5D78EA

#5D78EA is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.174 H 270.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5D78EA
RGBrgb(93, 120, 234)
HSLhsl(229, 77%, 64%)
HSVhsv(229, 60%, 92%)
CMYKcmyk(60.3%, 48.7%, 0%, 8.2%)
CIE-LABlab(53.71, 24.44, -60.77)
CIE-LCHlch(53.71, 65.50, 291.91°)
OKLaboklab(61% 0.0015 -0.1739)
OKLCHoklch(61% 0.174 270.5)
XYZxyz(26.0770, 21.6985, 80.6400)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78EA #EACF5D
analogous
#5DBEEA #5D78EA #895DEA
triadic
#5D78EA #EA5D78 #78EA5D
tetradic
#5D78EA #EA5DBE #EACF5D #5DEA89
square
#5D78EA #EA5DBE #EACF5D #5DEA89
split-complementary
#5D78EA #EA895D #BEEA5D
monochromatic
#1736B5 #274BE3 #5D78EA #93A5F1 #C9D2F8

Accessibility & contrast

On white

3.93
#5D78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5D78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78EA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78EA#FFFFFF#000000##000000
##5D78EA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#207AE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d78ea;
/* rgb */ color: rgb(93, 120, 234);
/* oklch */ color: oklch(61.0% 0.174 270.5);
Tailwind
colors: {
  custom: {
    50: '#979ef1',
    500: '#5d78ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d78ea;
$custom-light: #979ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78ea",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 228.511,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60999,
    "c": 0.17387,
    "h": 270.5
  },
  "luminance": 0.21701
}

Semantic roles & 50–950 ramp

primary
#5D78EA
secondary
#EAE1B9
accent
#B20CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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