#5D71CB#5D71CB

#5D71CB is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.140 H 271.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5D71CB
RGBrgb(93, 113, 203)
HSLhsl(229, 51%, 58%)
HSVhsv(229, 54%, 80%)
CMYKcmyk(54.2%, 44.3%, 0%, 20.4%)
CIE-LABlab(50.03, 18.57, -49.14)
CIE-LCHlch(50.03, 52.53, 290.71°)
OKLaboklab(57.61% 0.0047 -0.1398)
OKLCHoklch(57.61% 0.14 271.9)
XYZxyz(21.1953, 18.4477, 58.9322)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71CB #CBB75D
analogous
#5DA8CB #5D71CB #805DCB
triadic
#5D71CB #CB5D71 #71CB5D
tetradic
#5D71CB #CB5DA8 #CBB75D #5DCB80
square
#5D71CB #CB5DA8 #CBB75D #5DCB80
split-complementary
#5D71CB #CB805D #A8CB5D
monochromatic
#2A3A83 #394FB2 #5D71CB #8B9ADA #BAC2E9

Accessibility & contrast

On white

4.48
#5D71CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5D71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71CB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71CB#FFFFFF#000000##000000
##5D71CB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#248594
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d71cb;
/* rgb */ color: rgb(93, 113, 203);
/* oklch */ color: oklch(57.6% 0.140 271.9);
Tailwind
colors: {
  custom: {
    50: '#9299db',
    500: '#5d71cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d71cb;
$custom-light: #9299db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71cb",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 229.091,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57612,
    "c": 0.13984,
    "h": 271.9
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#5D71CB
secondary
#D8D0AC
accent
#C14DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5D71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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