#5D71E7#5D71E7

#5D71E7 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.179 H 272.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5D71E7
RGBrgb(93, 113, 231)
HSLhsl(231, 74%, 64%)
HSVhsv(231, 60%, 91%)
CMYKcmyk(59.7%, 51.1%, 0%, 9.4%)
CIE-LABlab(51.73, 27.73, -62.27)
CIE-LCHlch(51.73, 68.17, 294.00°)
OKLaboklab(59.44% 0.008 -0.1784)
OKLCHoklch(59.44% 0.179 272.6)
XYZxyz(24.8384, 19.9049, 78.1189)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71E7 #E7D35D
analogous
#5DB6E7 #5D71E7 #8E5DE7
triadic
#5D71E7 #E75D71 #71E75D
tetradic
#5D71E7 #E75DB6 #E7D35D #5DE78E
square
#5D71E7 #E75DB6 #E7D35D #5DE78E
split-complementary
#5D71E7 #E78E5D #B6E75D
monochromatic
#1A30B0 #2842DF #5D71E7 #92A0EF #C8CEF7

Accessibility & contrast

On white

4.22
#5D71E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5D71E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71E7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71E7#FFFFFF#000000##000000
##5D71E71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EB
Deuteranopia (green-blind)
#0176E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d71e7;
/* rgb */ color: rgb(93, 113, 231);
/* oklch */ color: oklch(59.4% 0.179 272.6);
Tailwind
colors: {
  custom: {
    50: '#9799ef',
    500: '#5d71e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d71e7;
$custom-light: #9799ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71e7",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 231.304,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59444,
    "c": 0.17854,
    "h": 272.6
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#5D71E7
secondary
#E8E1B7
accent
#B90FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5D71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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