#5E78EF#5E78EF

#5E78EF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.4% C 0.180 H 270.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5E78EF
RGBrgb(94, 120, 239)
HSLhsl(229, 82%, 65%)
HSVhsv(229, 61%, 94%)
CMYKcmyk(60.7%, 49.8%, 0%, 6.3%)
CIE-LABlab(54.07, 26.27, -62.97)
CIE-LCHlch(54.07, 68.23, 292.65°)
OKLaboklab(61.39% 0.003 -0.1803)
OKLCHoklch(61.39% 0.18 270.9)
XYZxyz(26.9073, 22.0424, 84.4813)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E78EF #EFD55E
analogous
#5EC1EF #5E78EF #8C5EEF
triadic
#5E78EF #EF5E78 #78EF5E
tetradic
#5E78EF #EF5EC1 #EFD55E #5EEF8C
square
#5E78EF #EF5EC1 #EFD55E #5EEF8C
split-complementary
#5E78EF #EF8C5E #C1EF5E
monochromatic
#1332C0 #2649E9 #5E78EF #96A7F5 #CDD5FA

Accessibility & contrast

On white

3.88
#5E78EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5E78EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E78EF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E78EF#FFFFFF#000000##000000
##5E78EF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#127BED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e78ef;
/* rgb */ color: rgb(94, 120, 239);
/* oklch */ color: oklch(61.4% 0.180 270.9);
Tailwind
colors: {
  custom: {
    50: '#989ef5',
    500: '#5e78ef',
    950: '#000000',
  },
}
SCSS
$custom: #5e78ef;
$custom-light: #989ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e78ef",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 229.241,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61391,
    "c": 0.18032,
    "h": 270.9
  },
  "luminance": 0.22045
}

Semantic roles & 50–950 ramp

primary
#5E78EF
secondary
#EDE4BC
accent
#B807DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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