#5E78DE#5E78DE

#5E78DE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.157 H 270.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5E78DE
RGBrgb(94, 120, 222)
HSLhsl(228, 66%, 62%)
HSVhsv(228, 58%, 87%)
CMYKcmyk(57.7%, 45.9%, 0%, 12.9%)
CIE-LABlab(53.04, 20.67, -55.10)
CIE-LCHlch(53.04, 58.85, 290.56°)
OKLaboklab(60.28% 0.001 -0.1572)
OKLCHoklch(60.28% 0.157 270.4)
XYZxyz(24.5130, 21.0846, 71.8711)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E78DE #DEC45E
analogous
#5EB8DE #5E78DE #845EDE
triadic
#5E78DE #DE5E78 #78DE5E
tetradic
#5E78DE #DE5EB8 #DEC45E #5EDE84
square
#5E78DE #DE5EB8 #DEC45E #5EDE84
split-complementary
#5E78DE #DE845E #B8DE5E
monochromatic
#213BA1 #2B4DD3 #5E78DE #91A3E8 #C4CDF3

Accessibility & contrast

On white

4.02
#5E78DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5E78DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E78DE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E78DE#FFFFFF#000000##000000
##5E78DE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E2
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5e78de;
/* rgb */ color: rgb(94, 120, 222);
/* oklch */ color: oklch(60.3% 0.157 270.4);
Tailwind
colors: {
  custom: {
    50: '#959ee9',
    500: '#5e78de',
    950: '#000000',
  },
}
SCSS
$custom: #5e78de;
$custom-light: #959ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e78de",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 227.813,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60277,
    "c": 0.15717,
    "h": 270.4
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#5E78DE
secondary
#E4DAB4
accent
#A918CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E78DE

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

Preview Lab → · Contrast checker → · Palette generator →

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