#5D71CD#5D71CD

#5D71CD is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.7% C 0.143 H 272.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5D71CD
RGBrgb(93, 113, 205)
HSLhsl(229, 53%, 58%)
HSVhsv(229, 55%, 80%)
CMYKcmyk(54.6%, 44.9%, 0%, 19.6%)
CIE-LABlab(50.15, 19.22, -50.10)
CIE-LCHlch(50.15, 53.66, 290.99°)
OKLaboklab(57.74% 0.005 -0.1426)
OKLCHoklch(57.74% 0.143 272)
XYZxyz(21.4352, 18.5437, 60.1955)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71CD #CDB95D
analogous
#5DA9CD #5D71CD #815DCD
triadic
#5D71CD #CD5D71 #71CD5D
tetradic
#5D71CD #CD5DA9 #CDB95D #5DCD81
square
#5D71CD #CD5DA9 #CDB95D #5DCD81
split-complementary
#5D71CD #CD815D #A9CD5D
monochromatic
#293A86 #384EB5 #5D71CD #8C9ADB #BBC3EA

Accessibility & contrast

On white

4.46
#5D71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5D71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71CD#FFFFFF#000000##000000
##5D71CD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#228595
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d71cd;
/* rgb */ color: rgb(93, 113, 205);
/* oklch */ color: oklch(57.7% 0.143 272.0);
Tailwind
colors: {
  custom: {
    50: '#9399dd',
    500: '#5d71cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d71cd;
$custom-light: #9399dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71cd",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 229.286,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57736,
    "c": 0.14266,
    "h": 272
  },
  "luminance": 0.18545
}

Semantic roles & 50–950 ramp

primary
#5D71CD
secondary
#D9D1AD
accent
#C24CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5D71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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