#5E71E6#5E71E6

#5E71E6 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.177 H 272.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5E71E6
RGBrgb(94, 113, 230)
HSLhsl(232, 73%, 64%)
HSVhsv(232, 59%, 90%)
CMYKcmyk(59.1%, 50.9%, 0%, 9.8%)
CIE-LABlab(51.73, 27.58, -61.71)
CIE-LCHlch(51.73, 67.60, 294.08°)
OKLaboklab(59.44% 0.009 -0.1767)
OKLCHoklch(59.44% 0.177 272.9)
XYZxyz(24.7994, 19.9012, 77.3820)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71E6 #E6D35E
analogous
#5EB5E6 #5E71E6 #8F5EE6
triadic
#5E71E6 #E65E71 #71E65E
tetradic
#5E71E6 #E65EB5 #E6D35E #5EE68F
square
#5E71E6 #E65EB5 #E6D35E #5EE68F
split-complementary
#5E71E6 #E68F5E #B5E65E
monochromatic
#1B30AF #2942DE #5E71E6 #93A0EE #C8CEF6

Accessibility & contrast

On white

4.22
#5E71E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5E71E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71E6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71E6#FFFFFF#000000##000000
##5E71E61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F81EA
Deuteranopia (green-blind)
#0976E4
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e71e6;
/* rgb */ color: rgb(94, 113, 230);
/* oklch */ color: oklch(59.4% 0.177 272.9);
Tailwind
colors: {
  custom: {
    50: '#9799ef',
    500: '#5e71e6',
    950: '#000000',
  },
}
SCSS
$custom: #5e71e6;
$custom-light: #9799ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71e6",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 231.618,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59436,
    "c": 0.17692,
    "h": 272.9
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#5E71E6
secondary
#E8E1B8
accent
#BA10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #5E71E6

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

Preview Lab → · Contrast checker → · Palette generator →

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