#5D71DC#5D71DC

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

Color values

HEX#5D71DC
RGBrgb(93, 113, 220)
HSLhsl(231, 64%, 61%)
HSVhsv(231, 58%, 86%)
CMYKcmyk(57.7%, 48.6%, 0%, 13.7%)
CIE-LABlab(51.04, 24.11, -57.19)
CIE-LCHlch(51.04, 62.06, 292.86°)
OKLaboklab(58.7% 0.007 -0.1634)
OKLCHoklch(58.7% 0.164 272.4)
XYZxyz(23.3333, 19.3029, 70.1925)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71DC #DCC85D
analogous
#5DB1DC #5D71DC #895DDC
triadic
#5D71DC #DC5D71 #71DC5D
tetradic
#5D71DC #DC5DB1 #DCC85D #5DDC89
square
#5D71DC #DC5DB1 #DCC85D #5DDC89
split-complementary
#5D71DC #DC895D #B1DC5D
monochromatic
#22359D #2D46CF #5D71DC #8F9DE7 #C2C9F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D71DC#FFFFFF#000000##000000
##5D71DC1.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)
#3B7FE0
Deuteranopia (green-blind)
#2674DA
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d71dc;
/* rgb */ color: rgb(93, 113, 220);
/* oklch */ color: oklch(58.7% 0.164 272.4);
Tailwind
colors: {
  custom: {
    50: '#9599e7',
    500: '#5d71dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d71dc;
$custom-light: #9599e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71dc",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 230.551,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58701,
    "c": 0.16355,
    "h": 272.4
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#5D71DC
secondary
#E2DBB3
accent
#B019CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5D71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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