#5D71D2#5D71D2

#5D71D2 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.150 H 272.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5D71D2
RGBrgb(93, 113, 210)
HSLhsl(230, 57%, 59%)
HSVhsv(230, 56%, 82%)
CMYKcmyk(55.7%, 46.2%, 0%, 17.6%)
CIE-LABlab(50.44, 20.84, -52.48)
CIE-LCHlch(50.44, 56.47, 291.66°)
OKLaboklab(58.05% 0.0058 -0.1496)
OKLCHoklch(58.05% 0.15 272.2)
XYZxyz(22.0484, 18.7890, 63.4250)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71D2 #D2BE5D
analogous
#5DABD2 #5D71D2 #845DD2
triadic
#5D71D2 #D25D71 #71D25D
tetradic
#5D71D2 #D25DAB #D2BE5D #5DD284
square
#5D71D2 #D25DAB #D2BE5D #5DD284
split-complementary
#5D71D2 #D2845D #ABD25D
monochromatic
#27398D #354CBD #5D71D2 #8D9BDF #BDC5ED

Accessibility & contrast

On white

4.41
#5D71D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5D71D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71D2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71D2#FFFFFF#000000##000000
##5D71D21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#3573D0
Tritanopia (blue-blind)
#198697
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d71d2;
/* rgb */ color: rgb(93, 113, 210);
/* oklch */ color: oklch(58.1% 0.150 272.2);
Tailwind
colors: {
  custom: {
    50: '#9399e0',
    500: '#5d71d2',
    950: '#000000',
  },
}
SCSS
$custom: #5d71d2;
$custom-light: #9399e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71d2",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 229.744,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58052,
    "c": 0.14968,
    "h": 272.2
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#5D71D2
secondary
#DCD4AF
accent
#C648E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5D71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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