#5D72E7#5D72E7

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

Color values

HEX#5D72E7
RGBrgb(93, 114, 231)
HSLhsl(231, 74%, 64%)
HSVhsv(231, 60%, 91%)
CMYKcmyk(59.7%, 50.6%, 0%, 9.4%)
CIE-LABlab(51.98, 27.12, -61.86)
CIE-LCHlch(51.98, 67.54, 293.67°)
OKLaboklab(59.64% 0.0071 -0.1771)
OKLCHoklch(59.64% 0.177 272.3)
XYZxyz(24.9505, 20.1293, 78.1563)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D72E7 #E7D25D
analogous
#5DB7E7 #5D72E7 #8D5DE7
triadic
#5D72E7 #E75D72 #72E75D
tetradic
#5D72E7 #E75DB7 #E7D25D #5DE78D
square
#5D72E7 #E75DB7 #E7D25D #5DE78D
split-complementary
#5D72E7 #E78D5D #B7E75D
monochromatic
#1A31B0 #2844DF #5D72E7 #92A0EF #C8CFF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D72E7#FFFFFF#000000##000000
##5D72E71.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)
#3082EB
Deuteranopia (green-blind)
#0976E5
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d72e7;
/* rgb */ color: rgb(93, 114, 231);
/* oklch */ color: oklch(59.6% 0.177 272.3);
Tailwind
colors: {
  custom: {
    50: '#979aef',
    500: '#5d72e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d72e7;
$custom-light: #979aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d72e7",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 230.87,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59635,
    "c": 0.17728,
    "h": 272.3
  },
  "luminance": 0.20131
}

Semantic roles & 50–950 ramp

primary
#5D72E7
secondary
#E8E1B7
accent
#B80FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #5D72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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