#5D72EA#5D72EA

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

Color values

HEX#5D72EA
RGBrgb(93, 114, 234)
HSLhsl(231, 77%, 64%)
HSVhsv(231, 60%, 92%)
CMYKcmyk(60.3%, 51.3%, 0%, 8.2%)
CIE-LABlab(52.17, 28.11, -63.23)
CIE-LCHlch(52.17, 69.20, 293.97°)
OKLaboklab(59.84% 0.0073 -0.1812)
OKLCHoklch(59.84% 0.181 272.3)
XYZxyz(25.3779, 20.3002, 80.4069)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D72EA #EAD55D
analogous
#5DB9EA #5D72EA #8F5DEA
triadic
#5D72EA #EA5D72 #72EA5D
tetradic
#5D72EA #EA5DB9 #EAD55D #5DEA8F
square
#5D72EA #EA5DB9 #EAD55D #5DEA8F
split-complementary
#5D72EA #EA8F5D #B9EA5D
monochromatic
#172FB5 #2743E3 #5D72EA #93A1F1 #C9D0F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D72EA#FFFFFF#000000##000000
##5D72EA1.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)
#2C83EE
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d72ea;
/* rgb */ color: rgb(93, 114, 234);
/* oklch */ color: oklch(59.8% 0.181 272.3);
Tailwind
colors: {
  custom: {
    50: '#979af1',
    500: '#5d72ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d72ea;
$custom-light: #979af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d72ea",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 231.064,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59841,
    "c": 0.18133,
    "h": 272.3
  },
  "luminance": 0.20302
}

Semantic roles & 50–950 ramp

primary
#5D72EA
secondary
#EAE3B9
accent
#BB0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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