#5D72E4#5D72E4

#5D72E4 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.4% C 0.173 H 272.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5D72E4
RGBrgb(93, 114, 228)
HSLhsl(231, 71%, 63%)
HSVhsv(231, 59%, 89%)
CMYKcmyk(59.2%, 50%, 0%, 10.6%)
CIE-LABlab(51.79, 26.13, -60.48)
CIE-LCHlch(51.79, 65.88, 293.36°)
OKLaboklab(59.43% 0.0068 -0.1731)
OKLCHoklch(59.43% 0.173 272.2)
XYZxyz(24.5305, 19.9613, 75.9440)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D72E4 #E4CF5D
analogous
#5DB5E4 #5D72E4 #8C5DE4
triadic
#5D72E4 #E45D72 #72E45D
tetradic
#5D72E4 #E45DB5 #E4CF5D #5DE48C
square
#5D72E4 #E45DB5 #E4CF5D #5DE48C
split-complementary
#5D72E4 #E48C5D #B5E45D
monochromatic
#1C32AA #2944DB #5D72E4 #91A0ED #C6CDF5

Accessibility & contrast

On white

4.21
#5D72E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5D72E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D72E4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D72E4#FFFFFF#000000##000000
##5D72E41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E8
Deuteranopia (green-blind)
#1676E2
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d72e4;
/* rgb */ color: rgb(93, 114, 228);
/* oklch */ color: oklch(59.4% 0.173 272.2);
Tailwind
colors: {
  custom: {
    50: '#969aed',
    500: '#5d72e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d72e4;
$custom-light: #969aed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d72e4",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 228
  },
  "hsl": {
    "h": 230.667,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59431,
    "c": 0.17322,
    "h": 272.2
  },
  "luminance": 0.19963
}

Semantic roles & 50–950 ramp

primary
#5D72E4
secondary
#E7DFB6
accent
#B512D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D72E4

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

Preview Lab → · Contrast checker → · Palette generator →

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