#5D71ED#5D71ED

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

Color values

HEX#5D71ED
RGBrgb(93, 113, 237)
HSLhsl(232, 80%, 65%)
HSVhsv(232, 61%, 93%)
CMYKcmyk(60.8%, 52.3%, 0%, 7.1%)
CIE-LABlab(52.12, 29.71, -65.00)
CIE-LCHlch(52.12, 71.47, 294.56°)
OKLaboklab(59.86% 0.0085 -0.1864)
OKLCHoklch(59.86% 0.187 272.6)
XYZxyz(25.7003, 20.2497, 82.6586)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71ED #EDD95D
analogous
#5DB9ED #5D71ED #915DED
triadic
#5D71ED #ED5D71 #71ED5D
tetradic
#5D71ED #ED5DB9 #EDD95D #5DED91
square
#5D71ED #ED5DB9 #EDD95D #5DED91
split-complementary
#5D71ED #ED915D #B9ED5D
monochromatic
#152CBB #2641E7 #5D71ED #94A1F3 #CBD2F9

Accessibility & contrast

On white

4.16
#5D71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5D71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71ED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71ED#FFFFFF#000000##000000
##5D71ED1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F1
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d71ed;
/* rgb */ color: rgb(93, 113, 237);
/* oklch */ color: oklch(59.9% 0.187 272.6);
Tailwind
colors: {
  custom: {
    50: '#9899f4',
    500: '#5d71ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d71ed;
$custom-light: #9899f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71ed",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 231.667,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.18659,
    "h": 272.6
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#5D71ED
secondary
#ECE5BA
accent
#BF09DC
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5D71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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