#5E71EC#5E71EC

#5E71EC is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.9% C 0.185 H 272.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5E71EC
RGBrgb(94, 113, 236)
HSLhsl(232, 79%, 65%)
HSVhsv(232, 60%, 93%)
CMYKcmyk(60.2%, 52.1%, 0%, 7.5%)
CIE-LABlab(52.11, 29.55, -64.45)
CIE-LCHlch(52.11, 70.90, 294.63°)
OKLaboklab(59.85% 0.0094 -0.1847)
OKLCHoklch(59.85% 0.185 272.9)
XYZxyz(25.6565, 20.2440, 81.8961)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71EC #ECD95E
analogous
#5EB8EC #5E71EC #925EEC
triadic
#5E71EC #EC5E71 #71EC5E
tetradic
#5E71EC #EC5EB8 #ECD95E #5EEC92
square
#5E71EC #EC5EB8 #ECD95E #5EEC92
split-complementary
#5E71EC #EC925E #B8EC5E
monochromatic
#162CBA #2741E6 #5E71EC #95A1F2 #CBD2F9

Accessibility & contrast

On white

4.16
#5E71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5E71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71EC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71EC#FFFFFF#000000##000000
##5E71EC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F0
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e71ec;
/* rgb */ color: rgb(94, 113, 236);
/* oklch */ color: oklch(59.9% 0.185 272.9);
Tailwind
colors: {
  custom: {
    50: '#9899f3',
    500: '#5e71ec',
    950: '#000000',
  },
}
SCSS
$custom: #5e71ec;
$custom-light: #9899f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71ec",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 231.972,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.18499,
    "h": 272.9
  },
  "luminance": 0.20246
}

Semantic roles & 50–950 ramp

primary
#5E71EC
secondary
#EBE5BB
accent
#BF0ADB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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