#5D71E9#5D71E9

#5D71E9 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.181 H 272.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5D71E9
RGBrgb(93, 113, 233)
HSLhsl(231, 76%, 64%)
HSVhsv(231, 60%, 91%)
CMYKcmyk(60.1%, 51.5%, 0%, 8.6%)
CIE-LABlab(51.86, 28.39, -63.18)
CIE-LCHlch(51.86, 69.27, 294.19°)
OKLaboklab(59.58% 0.0082 -0.181)
OKLCHoklch(59.58% 0.181 272.6)
XYZxyz(25.1224, 20.0186, 79.6151)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71E9 #E9D55D
analogous
#5DB7E9 #5D71E9 #8F5DE9
triadic
#5D71E9 #E95D71 #71E95D
tetradic
#5D71E9 #E95DB7 #E9D55D #5DE98F
square
#5D71E9 #E95DB7 #E9D55D #5DE98F
split-complementary
#5D71E9 #E98F5D #B7E95D
monochromatic
#182EB3 #2742E2 #5D71E9 #93A0F0 #C9CFF8

Accessibility & contrast

On white

4.20
#5D71E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5D71E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71E9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71E9#FFFFFF#000000##000000
##5D71E91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82ED
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d71e9;
/* rgb */ color: rgb(93, 113, 233);
/* oklch */ color: oklch(59.6% 0.181 272.6);
Tailwind
colors: {
  custom: {
    50: '#9799f1',
    500: '#5d71e9',
    950: '#000000',
  },
}
SCSS
$custom: #5d71e9;
$custom-light: #9799f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71e9",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 231.429,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59582,
    "c": 0.18123,
    "h": 272.6
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#5D71E9
secondary
#E9E2B8
accent
#BB0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5D71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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