#5D71CC#5D71CC

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

Color values

HEX#5D71CC
RGBrgb(93, 113, 204)
HSLhsl(229, 52%, 58%)
HSVhsv(229, 54%, 80%)
CMYKcmyk(54.4%, 44.6%, 0%, 20%)
CIE-LABlab(50.09, 18.90, -49.62)
CIE-LCHlch(50.09, 53.09, 290.85°)
OKLaboklab(57.67% 0.0049 -0.1412)
OKLCHoklch(57.67% 0.141 272)
XYZxyz(21.3149, 18.4955, 59.5618)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71CC #CCB85D
analogous
#5DA8CC #5D71CC #805DCC
triadic
#5D71CC #CC5D71 #71CC5D
tetradic
#5D71CC #CC5DA8 #CCB85D #5DCC80
square
#5D71CC #CC5DA8 #CCB85D #5DCC80
split-complementary
#5D71CC #CC805D #A8CC5D
monochromatic
#2A3A85 #384FB3 #5D71CC #8C9ADB #BAC3E9

Accessibility & contrast

On white

4.47
#5D71CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5D71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71CC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71CC#FFFFFF#000000##000000
##5D71CC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#238594
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d71cc;
/* rgb */ color: rgb(93, 113, 204);
/* oklch */ color: oklch(57.7% 0.141 272.0);
Tailwind
colors: {
  custom: {
    50: '#9399dc',
    500: '#5d71cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d71cc;
$custom-light: #9399dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71cc",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 229.189,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.14124,
    "h": 272
  },
  "luminance": 0.18497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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