#5E71E9#5E71E9

#5E71E9 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.6% C 0.181 H 272.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5E71E9
RGBrgb(94, 113, 233)
HSLhsl(232, 76%, 64%)
HSVhsv(232, 60%, 91%)
CMYKcmyk(59.7%, 51.5%, 0%, 8.6%)
CIE-LABlab(51.92, 28.57, -63.09)
CIE-LCHlch(51.92, 69.25, 294.36°)
OKLaboklab(59.64% 0.0092 -0.1807)
OKLCHoklch(59.64% 0.181 272.9)
XYZxyz(25.2243, 20.0711, 79.6199)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71E9 #E9D65E
analogous
#5EB6E9 #5E71E9 #915EE9
triadic
#5E71E9 #E95E71 #71E95E
tetradic
#5E71E9 #E95EB6 #E9D65E #5EE991
square
#5E71E9 #E95EB6 #E9D65E #5EE991
split-complementary
#5E71E9 #E9915E #B6E95E
monochromatic
#192EB4 #2842E2 #5E71E9 #94A0F0 #CAD0F8

Accessibility & contrast

On white

4.19
#5E71E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5E71E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71E9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71E9#FFFFFF#000000##000000
##5E71E91.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B82ED
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e71e9;
/* rgb */ color: rgb(94, 113, 233);
/* oklch */ color: oklch(59.6% 0.181 272.9);
Tailwind
colors: {
  custom: {
    50: '#9799f1',
    500: '#5e71e9',
    950: '#000000',
  },
}
SCSS
$custom: #5e71e9;
$custom-light: #9799f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71e9",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 231.799,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59642,
    "c": 0.18097,
    "h": 272.9
  },
  "luminance": 0.20073
}

Semantic roles & 50–950 ramp

primary
#5E71E9
secondary
#EAE3B9
accent
#BC0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5E71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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