#5D78EB#5D78EB

#5D78EB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.175 H 270.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D78EB
RGBrgb(93, 120, 235)
HSLhsl(229, 78%, 64%)
HSVhsv(229, 60%, 92%)
CMYKcmyk(60.4%, 48.9%, 0%, 7.8%)
CIE-LABlab(53.77, 24.77, -61.23)
CIE-LCHlch(53.77, 66.05, 292.03°)
OKLaboklab(61.07% 0.0016 -0.1752)
OKLCHoklch(61.07% 0.175 270.5)
XYZxyz(26.2210, 21.7561, 81.3987)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78EB #EBD05D
analogous
#5DBFEB #5D78EB #895DEB
triadic
#5D78EB #EB5D78 #78EB5D
tetradic
#5D78EB #EB5DBF #EBD05D #5DEB89
square
#5D78EB #EB5DBF #EBD05D #5DEB89
split-complementary
#5D78EB #EB895D #BFEB5D
monochromatic
#1735B7 #274BE4 #5D78EB #93A5F2 #CAD3F8

Accessibility & contrast

On white

3.92
#5D78EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5D78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78EB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78EB#FFFFFF#000000##000000
##5D78EB1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#1D7BE9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d78eb;
/* rgb */ color: rgb(93, 120, 235);
/* oklch */ color: oklch(61.1% 0.175 270.5);
Tailwind
colors: {
  custom: {
    50: '#979ef2',
    500: '#5d78eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d78eb;
$custom-light: #979ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78eb",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 228.592,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61066,
    "c": 0.17522,
    "h": 270.5
  },
  "luminance": 0.21758
}

Semantic roles & 50–950 ramp

primary
#5D78EB
secondary
#EBE1B9
accent
#B30BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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