#5D71CE#5D71CE

#5D71CE is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.144 H 272.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5D71CE
RGBrgb(93, 113, 206)
HSLhsl(229, 54%, 59%)
HSVhsv(229, 55%, 81%)
CMYKcmyk(54.9%, 45.1%, 0%, 19.2%)
CIE-LABlab(50.21, 19.54, -50.57)
CIE-LCHlch(50.21, 54.22, 291.13°)
OKLaboklab(57.8% 0.0052 -0.144)
OKLCHoklch(57.8% 0.144 272.1)
XYZxyz(21.5563, 18.5921, 60.8333)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71CE #CEBA5D
analogous
#5DA9CE #5D71CE #815DCE
triadic
#5D71CE #CE5D71 #71CE5D
tetradic
#5D71CE #CE5DA9 #CEBA5D #5DCE81
square
#5D71CE #CE5DA9 #CEBA5D #5DCE81
split-complementary
#5D71CE #CE815D #A9CE5D
monochromatic
#293A88 #374EB7 #5D71CE #8C9ADC #BBC3EA

Accessibility & contrast

On white

4.45
#5D71CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5D71CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71CE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71CE#FFFFFF#000000##000000
##5D71CE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD1
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#208595
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d71ce;
/* rgb */ color: rgb(93, 113, 206);
/* oklch */ color: oklch(57.8% 0.144 272.1);
Tailwind
colors: {
  custom: {
    50: '#9399dd',
    500: '#5d71ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d71ce;
$custom-light: #9399dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71ce",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 229.381,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.14407,
    "h": 272.1
  },
  "luminance": 0.18594
}

Semantic roles & 50–950 ramp

primary
#5D71CE
secondary
#DAD2AD
accent
#C34BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5D71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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