#5E78EC#5E78EC

#5E78EC is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.176 H 270.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5E78EC
RGBrgb(94, 120, 236)
HSLhsl(229, 79%, 65%)
HSVhsv(229, 60%, 93%)
CMYKcmyk(60.2%, 49.2%, 0%, 7.5%)
CIE-LABlab(53.89, 25.28, -61.59)
CIE-LCHlch(53.89, 66.58, 292.32°)
OKLaboklab(61.19% 0.0027 -0.1763)
OKLCHoklch(61.19% 0.176 270.9)
XYZxyz(26.4678, 21.8666, 82.1665)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E78EC #ECD25E
analogous
#5EBFEC #5E78EC #8B5EEC
triadic
#5E78EC #EC5E78 #78EC5E
tetradic
#5E78EC #EC5EBF #ECD25E #5EEC8B
square
#5E78EC #EC5EBF #ECD25E #5EEC8B
split-complementary
#5E78EC #EC8B5E #BFEC5E
monochromatic
#1634BA #274AE6 #5E78EC #95A6F2 #CBD4F9

Accessibility & contrast

On white

3.91
#5E78EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5E78EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E78EC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E78EC#FFFFFF#000000##000000
##5E78EC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#1C7BEA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e78ec;
/* rgb */ color: rgb(94, 120, 236);
/* oklch */ color: oklch(61.2% 0.176 270.9);
Tailwind
colors: {
  custom: {
    50: '#989ef3',
    500: '#5e78ec',
    950: '#000000',
  },
}
SCSS
$custom: #5e78ec;
$custom-light: #989ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e78ec",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 229.014,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6119,
    "c": 0.17628,
    "h": 270.9
  },
  "luminance": 0.21869
}

Semantic roles & 50–950 ramp

primary
#5E78EC
secondary
#EBE2BB
accent
#B50ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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