#5D78E9#5D78E9

#5D78E9 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.9% C 0.173 H 270.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5D78E9
RGBrgb(93, 120, 233)
HSLhsl(228, 76%, 64%)
HSVhsv(228, 60%, 91%)
CMYKcmyk(60.1%, 48.5%, 0%, 8.6%)
CIE-LABlab(53.64, 24.11, -60.31)
CIE-LCHlch(53.64, 64.95, 291.79°)
OKLaboklab(60.93% 0.0014 -0.1725)
OKLCHoklch(60.93% 0.173 270.5)
XYZxyz(25.9337, 21.6412, 79.8855)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78E9 #E9CE5D
analogous
#5DBEE9 #5D78E9 #885DE9
triadic
#5D78E9 #E95D78 #78E95D
tetradic
#5D78E9 #E95DBE #E9CE5D #5DE988
square
#5D78E9 #E95DBE #E9CE5D #5DE988
split-complementary
#5D78E9 #E9885D #BEE95D
monochromatic
#1836B3 #274BE2 #5D78E9 #93A5F0 #C9D2F8

Accessibility & contrast

On white

3.94
#5D78E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5D78E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78E9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78E9#FFFFFF#000000##000000
##5D78E91.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87ED
Deuteranopia (green-blind)
#227AE7
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d78e9;
/* rgb */ color: rgb(93, 120, 233);
/* oklch */ color: oklch(60.9% 0.173 270.5);
Tailwind
colors: {
  custom: {
    50: '#979ef1',
    500: '#5d78e9',
    950: '#000000',
  },
}
SCSS
$custom: #5d78e9;
$custom-light: #979ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78e9",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 233
  },
  "hsl": {
    "h": 228.429,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.17251,
    "h": 270.5
  },
  "luminance": 0.21643
}

Semantic roles & 50–950 ramp

primary
#5D78E9
secondary
#E9E0B8
accent
#B10DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D78E9

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

Preview Lab → · Contrast checker → · Palette generator →

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