#5E78EA#5E78EA

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

Color values

HEX#5E78EA
RGBrgb(94, 120, 234)
HSLhsl(229, 77%, 64%)
HSVhsv(229, 60%, 92%)
CMYKcmyk(59.8%, 48.7%, 0%, 8.2%)
CIE-LABlab(53.76, 24.62, -60.68)
CIE-LCHlch(53.76, 65.48, 292.09°)
OKLaboklab(61.06% 0.0025 -0.1736)
OKLCHoklch(61.06% 0.174 270.8)
XYZxyz(26.1789, 21.7510, 80.6447)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E78EA #EAD05E
analogous
#5EBEEA #5E78EA #8A5EEA
triadic
#5E78EA #EA5E78 #78EA5E
tetradic
#5E78EA #EA5EBE #EAD05E #5EEA8A
square
#5E78EA #EA5EBE #EAD05E #5EEA8A
split-complementary
#5E78EA #EA8A5E #BEEA5E
monochromatic
#1835B6 #284BE3 #5E78EA #94A5F1 #CAD3F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E78EA#FFFFFF#000000##000000
##5E78EA1.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)
#3D87EE
Deuteranopia (green-blind)
#217BE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e78ea;
/* rgb */ color: rgb(94, 120, 234);
/* oklch */ color: oklch(61.1% 0.174 270.8);
Tailwind
colors: {
  custom: {
    50: '#979ef1',
    500: '#5e78ea',
    950: '#000000',
  },
}
SCSS
$custom: #5e78ea;
$custom-light: #979ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e78ea",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 228.857,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.17358,
    "h": 270.8
  },
  "luminance": 0.21753
}

Semantic roles & 50–950 ramp

primary
#5E78EA
secondary
#EAE1BA
accent
#B30CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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