#5C71E9#5C71E9

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

Color values

HEX#5C71E9
RGBrgb(92, 113, 233)
HSLhsl(231, 76%, 64%)
HSVhsv(231, 61%, 91%)
CMYKcmyk(60.5%, 51.5%, 0%, 8.6%)
CIE-LABlab(51.80, 28.21, -63.28)
CIE-LCHlch(51.80, 69.29, 294.03°)
OKLaboklab(59.52% 0.0072 -0.1813)
OKLCHoklch(59.52% 0.181 272.3)
XYZxyz(25.0219, 19.9667, 79.6104)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71E9 #E9D45C
analogous
#5CB7E9 #5C71E9 #8D5CE9
triadic
#5C71E9 #E95C71 #71E95C
tetradic
#5C71E9 #E95CB7 #E9D45C #5CE98D
square
#5C71E9 #E95CB7 #E9D45C #5CE98D
split-complementary
#5C71E9 #E98D5C #B7E95C
monochromatic
#182FB3 #2642E2 #5C71E9 #92A0F0 #C8CFF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C71E9#FFFFFF#000000##000000
##5C71E91.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)
#2A82ED
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c71e9;
/* rgb */ color: rgb(92, 113, 233);
/* oklch */ color: oklch(59.5% 0.181 272.3);
Tailwind
colors: {
  custom: {
    50: '#9699f1',
    500: '#5c71e9',
    950: '#000000',
  },
}
SCSS
$custom: #5c71e9;
$custom-light: #9699f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71e9",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 231.064,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59522,
    "c": 0.18149,
    "h": 272.3
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#5C71E9
secondary
#E9E2B8
accent
#BA0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5C71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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