#5E71E4#5E71E4

#5E71E4 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.174 H 272.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5E71E4
RGBrgb(94, 113, 228)
HSLhsl(231, 71%, 63%)
HSVhsv(231, 59%, 89%)
CMYKcmyk(58.8%, 50.4%, 0%, 10.6%)
CIE-LABlab(51.60, 26.92, -60.79)
CIE-LCHlch(51.60, 66.49, 293.89°)
OKLaboklab(59.3% 0.0088 -0.174)
OKLCHoklch(59.3% 0.174 272.9)
XYZxyz(24.5202, 19.7895, 75.9114)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71E4 #E4D15E
analogous
#5EB4E4 #5E71E4 #8E5EE4
triadic
#5E71E4 #E45E71 #71E45E
tetradic
#5E71E4 #E45EB4 #E4D15E #5EE48E
square
#5E71E4 #E45EB4 #E4D15E #5EE48E
split-complementary
#5E71E4 #E48E5E #B4E45E
monochromatic
#1D31AB #2A43DB #5E71E4 #929FED #C7CDF6

Accessibility & contrast

On white

4.24
#5E71E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5E71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71E4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71E4#FFFFFF#000000##000000
##5E71E41.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3281E8
Deuteranopia (green-blind)
#1375E2
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e71e4;
/* rgb */ color: rgb(94, 113, 228);
/* oklch */ color: oklch(59.3% 0.174 272.9);
Tailwind
colors: {
  custom: {
    50: '#9799ed',
    500: '#5e71e4',
    950: '#000000',
  },
}
SCSS
$custom: #5e71e4;
$custom-light: #9799ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71e4",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 231.493,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59299,
    "c": 0.17421,
    "h": 272.9
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#5E71E4
secondary
#E7E0B7
accent
#B812D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5E71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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