#5D71EA#5D71EA

#5D71EA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.7% C 0.183 H 272.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5D71EA
RGBrgb(93, 113, 234)
HSLhsl(231, 77%, 64%)
HSVhsv(231, 60%, 92%)
CMYKcmyk(60.3%, 51.7%, 0%, 8.2%)
CIE-LABlab(51.92, 28.72, -63.64)
CIE-LCHlch(51.92, 69.82, 294.29°)
OKLaboklab(59.65% 0.0083 -0.1824)
OKLCHoklch(59.65% 0.183 272.6)
XYZxyz(25.2657, 20.0759, 80.3695)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71EA #EAD65D
analogous
#5DB8EA #5D71EA #905DEA
triadic
#5D71EA #EA5D71 #71EA5D
tetradic
#5D71EA #EA5DB8 #EAD65D #5DEA90
square
#5D71EA #EA5DB8 #EAD65D #5DEA90
split-complementary
#5D71EA #EA905D #B8EA5D
monochromatic
#172EB5 #2742E3 #5D71EA #93A0F1 #C9D0F8

Accessibility & contrast

On white

4.19
#5D71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5D71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71EA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71EA#FFFFFF#000000##000000
##5D71EA1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d71ea;
/* rgb */ color: rgb(93, 113, 234);
/* oklch */ color: oklch(59.7% 0.183 272.6);
Tailwind
colors: {
  custom: {
    50: '#9799f1',
    500: '#5d71ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d71ea;
$custom-light: #9799f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71ea",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 231.489,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.18258,
    "h": 272.6
  },
  "luminance": 0.20078
}

Semantic roles & 50–950 ramp

primary
#5D71EA
secondary
#EAE3B9
accent
#BC0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5D71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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