#5C71E5#5C71E5

#5C71E5 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.2% C 0.176 H 272.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5C71E5
RGBrgb(92, 113, 229)
HSLhsl(231, 72%, 63%)
HSVhsv(231, 60%, 90%)
CMYKcmyk(59.8%, 50.7%, 0%, 10.2%)
CIE-LABlab(51.54, 26.89, -61.45)
CIE-LCHlch(51.54, 67.08, 293.63°)
OKLaboklab(59.25% 0.0068 -0.176)
OKLCHoklch(59.25% 0.176 272.2)
XYZxyz(24.4569, 19.7407, 76.6351)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71E5 #E5D05C
analogous
#5CB5E5 #5C71E5 #8B5CE5
triadic
#5C71E5 #E55C71 #71E55C
tetradic
#5C71E5 #E55CB5 #E5D05C #5CE58B
square
#5C71E5 #E55CB5 #E5D05C #5CE58B
split-complementary
#5C71E5 #E58B5C #B5E55C
monochromatic
#1B31AB #2743DD #5C71E5 #919FED #C6CDF6

Accessibility & contrast

On white

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

On black

4.95
#5C71E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71E5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71E5#FFFFFF#000000##000000
##5C71E51.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3081E9
Deuteranopia (green-blind)
#0975E3
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c71e5;
/* rgb */ color: rgb(92, 113, 229);
/* oklch */ color: oklch(59.2% 0.176 272.2);
Tailwind
colors: {
  custom: {
    50: '#9699ee',
    500: '#5c71e5',
    950: '#000000',
  },
}
SCSS
$custom: #5c71e5;
$custom-light: #9699ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71e5",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 230.803,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59246,
    "c": 0.1761,
    "h": 272.2
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#5C71E5
secondary
#E7DFB6
accent
#B711D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5C71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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