#5E71E7#5E71E7

#5E71E7 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.5% C 0.178 H 272.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5E71E7
RGBrgb(94, 113, 231)
HSLhsl(232, 74%, 64%)
HSVhsv(232, 59%, 91%)
CMYKcmyk(59.3%, 51.1%, 0%, 9.4%)
CIE-LABlab(51.79, 27.91, -62.17)
CIE-LCHlch(51.79, 68.15, 294.18°)
OKLaboklab(59.5% 0.0091 -0.178)
OKLCHoklch(59.5% 0.178 272.9)
XYZxyz(24.9403, 19.9575, 78.1237)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71E7 #E7D45E
analogous
#5EB5E7 #5E71E7 #8F5EE7
triadic
#5E71E7 #E75E71 #71E75E
tetradic
#5E71E7 #E75EB5 #E7D45E #5EE78F
square
#5E71E7 #E75EB5 #E7D45E #5EE78F
split-complementary
#5E71E7 #E78F5E #B5E75E
monochromatic
#1A2FB0 #2942DF #5E71E7 #93A0EF #C9CFF7

Accessibility & contrast

On white

4.21
#5E71E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5E71E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71E7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71E7#FFFFFF#000000##000000
##5E71E71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EB
Deuteranopia (green-blind)
#0476E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e71e7;
/* rgb */ color: rgb(94, 113, 231);
/* oklch */ color: oklch(59.5% 0.178 272.9);
Tailwind
colors: {
  custom: {
    50: '#9799ef',
    500: '#5e71e7',
    950: '#000000',
  },
}
SCSS
$custom: #5e71e7;
$custom-light: #9799ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71e7",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 231.679,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.17827,
    "h": 272.9
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

primary
#5E71E7
secondary
#E9E2B8
accent
#BB0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #5E71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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