#5C71EC#5C71EC

#5C71EC is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.7% C 0.186 H 272.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5C71EC
RGBrgb(92, 113, 236)
HSLhsl(231, 79%, 64%)
HSVhsv(231, 61%, 93%)
CMYKcmyk(61%, 52.1%, 0%, 7.5%)
CIE-LABlab(51.99, 29.21, -64.65)
CIE-LCHlch(51.99, 70.94, 294.31°)
OKLaboklab(59.73% 0.0074 -0.1854)
OKLCHoklch(59.73% 0.186 272.3)
XYZxyz(25.4540, 20.1396, 81.8866)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71EC #ECD75C
analogous
#5CB9EC #5C71EC #8F5CEC
triadic
#5C71EC #EC5C71 #71EC5C
tetradic
#5C71EC #EC5CB9 #ECD75C #5CEC8F
square
#5C71EC #EC5CB9 #ECD75C #5CEC8F
split-complementary
#5C71EC #EC8F5C #B9EC5C
monochromatic
#152DB8 #2541E6 #5C71EC #93A1F2 #CAD0F9

Accessibility & contrast

On white

4.18
#5C71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5C71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71EC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71EC#FFFFFF#000000##000000
##5C71EC1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2583F0
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c71ec;
/* rgb */ color: rgb(92, 113, 236);
/* oklch */ color: oklch(59.7% 0.186 272.3);
Tailwind
colors: {
  custom: {
    50: '#9799f3',
    500: '#5c71ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c71ec;
$custom-light: #9799f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71ec",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 231.25,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59731,
    "c": 0.18552,
    "h": 272.3
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

primary
#5C71EC
secondary
#EBE4B9
accent
#BD0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5C71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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