#5D71EC#5D71EC

#5D71EC is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.8% C 0.185 H 272.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5D71EC
RGBrgb(93, 113, 236)
HSLhsl(232, 79%, 65%)
HSVhsv(232, 61%, 93%)
CMYKcmyk(60.6%, 52.1%, 0%, 7.5%)
CIE-LABlab(52.05, 29.38, -64.55)
CIE-LCHlch(52.05, 70.92, 294.47°)
OKLaboklab(59.79% 0.0084 -0.1851)
OKLCHoklch(59.79% 0.185 272.6)
XYZxyz(25.5546, 20.1915, 81.8913)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71EC #ECD85D
analogous
#5DB9EC #5D71EC #905DEC
triadic
#5D71EC #EC5D71 #71EC5D
tetradic
#5D71EC #EC5DB9 #ECD85D #5DEC90
square
#5D71EC #EC5DB9 #ECD85D #5DEC90
split-complementary
#5D71EC #EC905D #B9EC5D
monochromatic
#162DB9 #2641E6 #5D71EC #94A1F2 #CBD1F9

Accessibility & contrast

On white

4.17
#5D71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5D71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71EC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71EC#FFFFFF#000000##000000
##5D71EC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2583F0
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d71ec;
/* rgb */ color: rgb(93, 113, 236);
/* oklch */ color: oklch(59.8% 0.185 272.6);
Tailwind
colors: {
  custom: {
    50: '#9799f3',
    500: '#5d71ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d71ec;
$custom-light: #9799f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71ec",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 231.608,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.18525,
    "h": 272.6
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#5D71EC
secondary
#EBE4BA
accent
#BE0ADB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5D71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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