#5D71E4#5D71E4

#5D71E4 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.2% C 0.174 H 272.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5D71E4
RGBrgb(93, 113, 228)
HSLhsl(231, 71%, 63%)
HSVhsv(231, 59%, 89%)
CMYKcmyk(59.2%, 50.4%, 0%, 10.6%)
CIE-LABlab(51.54, 26.74, -60.89)
CIE-LCHlch(51.54, 66.51, 293.71°)
OKLaboklab(59.24% 0.0078 -0.1743)
OKLCHoklch(59.24% 0.174 272.6)
XYZxyz(24.4183, 19.7369, 75.9066)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71E4 #E4D05D
analogous
#5DB5E4 #5D71E4 #8C5DE4
triadic
#5D71E4 #E45D71 #71E45D
tetradic
#5D71E4 #E45DB5 #E4D05D #5DE48C
square
#5D71E4 #E45DB5 #E4D05D #5DE48C
split-complementary
#5D71E4 #E48C5D #B5E45D
monochromatic
#1C31AA #2943DB #5D71E4 #919FED #C6CDF5

Accessibility & contrast

On white

4.24
#5D71E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5D71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71E4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71E4#FFFFFF#000000##000000
##5D71E41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3281E8
Deuteranopia (green-blind)
#1175E2
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d71e4;
/* rgb */ color: rgb(93, 113, 228);
/* oklch */ color: oklch(59.2% 0.174 272.6);
Tailwind
colors: {
  custom: {
    50: '#9699ed',
    500: '#5d71e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d71e4;
$custom-light: #9699ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71e4",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 231.111,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59238,
    "c": 0.17447,
    "h": 272.6
  },
  "luminance": 0.19739
}

Semantic roles & 50–950 ramp

primary
#5D71E4
secondary
#E7DFB6
accent
#B712D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5D71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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