#5E71EA#5E71EA

#5E71EA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.7% C 0.182 H 272.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5E71EA
RGBrgb(94, 113, 234)
HSLhsl(232, 77%, 64%)
HSVhsv(232, 60%, 92%)
CMYKcmyk(59.8%, 51.7%, 0%, 8.2%)
CIE-LABlab(51.98, 28.90, -63.54)
CIE-LCHlch(51.98, 69.80, 294.45°)
OKLaboklab(59.71% 0.0093 -0.1821)
OKLCHoklch(59.71% 0.182 272.9)
XYZxyz(25.3676, 20.1284, 80.3743)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71EA #EAD75E
analogous
#5EB7EA #5E71EA #915EEA
triadic
#5E71EA #EA5E71 #71EA5E
tetradic
#5E71EA #EA5EB7 #EAD75E #5EEA91
square
#5E71EA #EA5EB7 #EAD75E #5EEA91
split-complementary
#5E71EA #EA915E #B7EA5E
monochromatic
#182DB6 #2841E3 #5E71EA #94A1F1 #CAD1F8

Accessibility & contrast

On white

4.18
#5E71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5E71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71EA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71EA#FFFFFF#000000##000000
##5E71EA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e71ea;
/* rgb */ color: rgb(94, 113, 234);
/* oklch */ color: oklch(59.7% 0.182 272.9);
Tailwind
colors: {
  custom: {
    50: '#9899f1',
    500: '#5e71ea',
    950: '#000000',
  },
}
SCSS
$custom: #5e71ea;
$custom-light: #9899f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71ea",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 231.857,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.18231,
    "h": 272.9
  },
  "luminance": 0.2013
}

Semantic roles & 50–950 ramp

primary
#5E71EA
secondary
#EAE4BA
accent
#BD0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5E71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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