#5E71E1#5E71E1

#5E71E1 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.1% C 0.170 H 272.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5E71E1
RGBrgb(94, 113, 225)
HSLhsl(231, 69%, 63%)
HSVhsv(231, 58%, 88%)
CMYKcmyk(58.2%, 49.8%, 0%, 11.8%)
CIE-LABlab(51.41, 25.94, -59.41)
CIE-LCHlch(51.41, 64.83, 293.59°)
OKLaboklab(59.1% 0.0085 -0.1699)
OKLCHoklch(59.1% 0.17 272.9)
XYZxyz(24.1074, 19.6243, 73.7371)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71E1 #E1CE5E
analogous
#5EB2E1 #5E71E1 #8D5EE1
triadic
#5E71E1 #E15E71 #71E15E
tetradic
#5E71E1 #E15EB2 #E1CE5E #5EE18D
square
#5E71E1 #E15EB2 #E1CE5E #5EE18D
split-complementary
#5E71E1 #E18D5E #B2E15E
monochromatic
#1F32A6 #2A43D7 #5E71E1 #929EEB #C5CCF4

Accessibility & contrast

On white

4.26
#5E71E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5E71E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71E1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71E1#FFFFFF#000000##000000
##5E71E11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3680E5
Deuteranopia (green-blind)
#1C75DF
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e71e1;
/* rgb */ color: rgb(94, 113, 225);
/* oklch */ color: oklch(59.1% 0.170 272.9);
Tailwind
colors: {
  custom: {
    50: '#9699eb',
    500: '#5e71e1',
    950: '#000000',
  },
}
SCSS
$custom: #5e71e1;
$custom-light: #9699eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71e1",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 231.298,
    "s": 68.586,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.17013,
    "h": 272.9
  },
  "luminance": 0.19626
}

Semantic roles & 50–950 ramp

primary
#5E71E1
secondary
#E5DEB6
accent
#B515D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5E71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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