#5D78E7#5D78E7

#5D78E7 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.170 H 270.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5D78E7
RGBrgb(93, 120, 231)
HSLhsl(228, 74%, 64%)
HSVhsv(228, 60%, 91%)
CMYKcmyk(59.7%, 48.1%, 0%, 9.4%)
CIE-LABlab(53.52, 23.45, -59.39)
CIE-LCHlch(53.52, 63.85, 291.55°)
OKLaboklab(60.8% 0.0011 -0.1698)
OKLCHoklch(60.8% 0.17 270.4)
XYZxyz(25.6497, 21.5275, 78.3894)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78E7 #E7CC5D
analogous
#5DBDE7 #5D78E7 #875DE7
triadic
#5D78E7 #E75D78 #78E75D
tetradic
#5D78E7 #E75DBD #E7CC5D #5DE787
square
#5D78E7 #E75DBD #E7CC5D #5DE787
split-complementary
#5D78E7 #E7875D #BDE75D
monochromatic
#1A37B0 #284CDF #5D78E7 #92A4EF #C8D1F7

Accessibility & contrast

On white

3.96
#5D78E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5D78E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78E7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78E7#FFFFFF#000000##000000
##5D78E71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4086EB
Deuteranopia (green-blind)
#267AE5
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d78e7;
/* rgb */ color: rgb(93, 120, 231);
/* oklch */ color: oklch(60.8% 0.170 270.4);
Tailwind
colors: {
  custom: {
    50: '#969eef',
    500: '#5d78e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d78e7;
$custom-light: #969eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78e7",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 228.261,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60801,
    "c": 0.16979,
    "h": 270.4
  },
  "luminance": 0.2153
}

Semantic roles & 50–950 ramp

primary
#5D78E7
secondary
#E8DFB7
accent
#AF0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D78E7

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

Preview Lab → · Contrast checker → · Palette generator →

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