#5D71DD#5D71DD

#5D71DD is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.165 H 272.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5D71DD
RGBrgb(93, 113, 221)
HSLhsl(231, 65%, 62%)
HSVhsv(231, 58%, 87%)
CMYKcmyk(57.9%, 48.9%, 0%, 13.3%)
CIE-LABlab(51.10, 24.44, -57.65)
CIE-LCHlch(51.10, 62.62, 292.97°)
OKLaboklab(58.77% 0.0071 -0.1648)
OKLCHoklch(58.77% 0.165 272.5)
XYZxyz(23.4662, 19.3561, 70.8921)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71DD #DDC95D
analogous
#5DB1DD #5D71DD #895DDD
triadic
#5D71DD #DD5D71 #71DD5D
tetradic
#5D71DD #DD5DB1 #DDC95D #5DDD89
square
#5D71DD #DD5DB1 #DDC95D #5DDD89
split-complementary
#5D71DD #DD895D #B1DD5D
monochromatic
#21359E #2C46D1 #5D71DD #909DE8 #C2CAF2

Accessibility & contrast

On white

4.31
#5D71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5D71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71DD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71DD#FFFFFF#000000##000000
##5D71DD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A80E1
Deuteranopia (green-blind)
#2474DB
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d71dd;
/* rgb */ color: rgb(93, 113, 221);
/* oklch */ color: oklch(58.8% 0.165 272.5);
Tailwind
colors: {
  custom: {
    50: '#9599e8',
    500: '#5d71dd',
    950: '#000000',
  },
}
SCSS
$custom: #5d71dd;
$custom-light: #9599e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71dd",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 230.625,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58767,
    "c": 0.16492,
    "h": 272.5
  },
  "luminance": 0.19358
}

Semantic roles & 50–950 ramp

primary
#5D71DD
secondary
#E3DBB3
accent
#B118CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5D71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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