#5D71EB#5D71EB

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

Color values

HEX#5D71EB
RGBrgb(93, 113, 235)
HSLhsl(232, 78%, 64%)
HSVhsv(232, 60%, 92%)
CMYKcmyk(60.4%, 51.9%, 0%, 7.8%)
CIE-LABlab(51.99, 29.05, -64.09)
CIE-LCHlch(51.99, 70.37, 294.38°)
OKLaboklab(59.72% 0.0083 -0.1837)
OKLCHoklch(59.72% 0.184 272.6)
XYZxyz(25.4098, 20.1335, 81.1283)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71EB #EBD75D
analogous
#5DB8EB #5D71EB #905DEB
triadic
#5D71EB #EB5D71 #71EB5D
tetradic
#5D71EB #EB5DB8 #EBD75D #5DEB90
square
#5D71EB #EB5DB8 #EBD75D #5DEB90
split-complementary
#5D71EB #EB905D #B8EB5D
monochromatic
#172DB7 #2741E4 #5D71EB #93A1F2 #CAD1F8

Accessibility & contrast

On white

4.18
#5D71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5D71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71EB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71EB#FFFFFF#000000##000000
##5D71EB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d71eb;
/* rgb */ color: rgb(93, 113, 235);
/* oklch */ color: oklch(59.7% 0.184 272.6);
Tailwind
colors: {
  custom: {
    50: '#9799f2',
    500: '#5d71eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d71eb;
$custom-light: #9799f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71eb",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 231.549,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59721,
    "c": 0.18392,
    "h": 272.6
  },
  "luminance": 0.20136
}

Semantic roles & 50–950 ramp

primary
#5D71EB
secondary
#EBE4B9
accent
#BD0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5D71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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