#5C71ED#5C71ED

#5C71ED is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.8% C 0.187 H 272.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5C71ED
RGBrgb(92, 113, 237)
HSLhsl(231, 80%, 65%)
HSVhsv(231, 61%, 93%)
CMYKcmyk(61.2%, 52.3%, 0%, 7.1%)
CIE-LABlab(52.06, 29.54, -65.10)
CIE-LCHlch(52.06, 71.49, 294.41°)
OKLaboklab(59.8% 0.0074 -0.1867)
OKLCHoklch(59.8% 0.187 272.3)
XYZxyz(25.5997, 20.1979, 82.6539)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71ED #EDD85C
analogous
#5CBAED #5C71ED #8F5CED
triadic
#5C71ED #ED5C71 #71ED5C
tetradic
#5C71ED #ED5CBA #EDD85C #5CED8F
square
#5C71ED #ED5CBA #EDD85C #5CED8F
split-complementary
#5C71ED #ED8F5C #BAED5C
monochromatic
#152DBA #2541E7 #5C71ED #93A1F3 #CAD1F9

Accessibility & contrast

On white

4.17
#5C71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5C71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71ED
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71ED#FFFFFF#000000##000000
##5C71ED1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F1
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c71ed;
/* rgb */ color: rgb(92, 113, 237);
/* oklch */ color: oklch(59.8% 0.187 272.3);
Tailwind
colors: {
  custom: {
    50: '#9799f4',
    500: '#5c71ed',
    950: '#000000',
  },
}
SCSS
$custom: #5c71ed;
$custom-light: #9799f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71ed",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 231.31,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.18685,
    "h": 272.3
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#5C71ED
secondary
#EBE4B9
accent
#BE09DC
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5C71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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