#5D71EE#5D71EE

#5D71EE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.188 H 272.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5D71EE
RGBrgb(93, 113, 238)
HSLhsl(232, 81%, 65%)
HSVhsv(232, 61%, 93%)
CMYKcmyk(60.9%, 52.5%, 0%, 6.7%)
CIE-LABlab(52.18, 30.04, -65.46)
CIE-LCHlch(52.18, 72.02, 294.65°)
OKLaboklab(59.93% 0.0085 -0.1877)
OKLCHoklch(59.93% 0.188 272.6)
XYZxyz(25.8468, 20.3083, 83.4302)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71EE #EEDA5D
analogous
#5DBAEE #5D71EE #915DEE
triadic
#5D71EE #EE5D71 #71EE5D
tetradic
#5D71EE #EE5DBA #EEDA5D #5DEE91
square
#5D71EE #EE5DBA #EEDA5D #5DEE91
split-complementary
#5D71EE #EE915D #BAEE5D
monochromatic
#142BBD #2640E8 #5D71EE #94A2F4 #CCD2FA

Accessibility & contrast

On white

4.15
#5D71EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5D71EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71EE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71EE#FFFFFF#000000##000000
##5D71EE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2183F2
Deuteranopia (green-blind)
#0076EB
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d71ee;
/* rgb */ color: rgb(93, 113, 238);
/* oklch */ color: oklch(59.9% 0.188 272.6);
Tailwind
colors: {
  custom: {
    50: '#9899f4',
    500: '#5d71ee',
    950: '#000000',
  },
}
SCSS
$custom: #5d71ee;
$custom-light: #9899f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71ee",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 231.724,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59931,
    "c": 0.18792,
    "h": 272.6
  },
  "luminance": 0.2031
}

Semantic roles & 50–950 ramp

primary
#5D71EE
secondary
#ECE5BB
accent
#C008DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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