#5C71DD#5C71DD

#5C71DD is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.7% C 0.165 H 272.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5C71DD
RGBrgb(92, 113, 221)
HSLhsl(230, 65%, 61%)
HSVhsv(230, 58%, 87%)
CMYKcmyk(58.4%, 48.9%, 0%, 13.3%)
CIE-LABlab(51.04, 24.25, -57.75)
CIE-LCHlch(51.04, 62.64, 292.78°)
OKLaboklab(58.71% 0.0061 -0.1651)
OKLCHoklch(58.71% 0.165 272.1)
XYZxyz(23.3656, 19.3042, 70.8874)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71DD #DDC85C
analogous
#5CB1DD #5C71DD #885CDD
triadic
#5C71DD #DD5C71 #71DD5C
tetradic
#5C71DD #DD5CB1 #DDC85C #5CDD88
square
#5C71DD #DD5CB1 #DDC85C #5CDD88
split-complementary
#5C71DD #DD885C #B1DD5C
monochromatic
#21359E #2B46D0 #5C71DD #8F9DE8 #C1C9F2

Accessibility & contrast

On white

4.32
#5C71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5C71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71DD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71DD#FFFFFF#000000##000000
##5C71DD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE1
Deuteranopia (green-blind)
#2374DB
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5c71dd;
/* rgb */ color: rgb(92, 113, 221);
/* oklch */ color: oklch(58.7% 0.165 272.1);
Tailwind
colors: {
  custom: {
    50: '#9499e8',
    500: '#5c71dd',
    950: '#000000',
  },
}
SCSS
$custom: #5c71dd;
$custom-light: #9499e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71dd",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 230.233,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58706,
    "c": 0.1652,
    "h": 272.1
  },
  "luminance": 0.19306
}

Semantic roles & 50–950 ramp

primary
#5C71DD
secondary
#E3DBB2
accent
#B018CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5C71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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