#5D78E2#5D78E2

#5D78E2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.163 H 270.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5D78E2
RGBrgb(93, 120, 226)
HSLhsl(228, 70%, 63%)
HSVhsv(228, 59%, 89%)
CMYKcmyk(58.8%, 46.9%, 0%, 11.4%)
CIE-LABlab(53.22, 21.79, -57.07)
CIE-LCHlch(53.22, 61.09, 290.90°)
OKLaboklab(60.48% 0.0005 -0.163)
OKLCHoklch(60.48% 0.163 270.2)
XYZxyz(24.9536, 21.2491, 74.7233)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78E2 #E2C75D
analogous
#5DBAE2 #5D78E2 #855DE2
triadic
#5D78E2 #E25D78 #78E25D
tetradic
#5D78E2 #E25DBA #E2C75D #5DE285
square
#5D78E2 #E25DBA #E2C75D #5DE285
split-complementary
#5D78E2 #E2855D #BAE25D
monochromatic
#1E3AA7 #294DD9 #5D78E2 #91A3EB #C5CFF5

Accessibility & contrast

On white

4.00
#5D78E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5D78E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78E2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78E2#FFFFFF#000000##000000
##5D78E21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E6
Deuteranopia (green-blind)
#2F7AE0
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d78e2;
/* rgb */ color: rgb(93, 120, 226);
/* oklch */ color: oklch(60.5% 0.163 270.2);
Tailwind
colors: {
  custom: {
    50: '#959eec',
    500: '#5d78e2',
    950: '#000000',
  },
}
SCSS
$custom: #5d78e2;
$custom-light: #959eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78e2",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 227.82,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.16297,
    "h": 270.2
  },
  "luminance": 0.21251
}

Semantic roles & 50–950 ramp

primary
#5D78E2
secondary
#E6DCB5
accent
#AB14D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D78E2

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

Preview Lab → · Contrast checker → · Palette generator →

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