#5D72EC#5D72EC

#5D72EC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.0% C 0.184 H 272.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5D72EC
RGBrgb(93, 114, 236)
HSLhsl(231, 79%, 65%)
HSVhsv(231, 61%, 93%)
CMYKcmyk(60.6%, 51.7%, 0%, 7.5%)
CIE-LABlab(52.30, 28.77, -64.14)
CIE-LCHlch(52.30, 70.30, 294.16°)
OKLaboklab(59.98% 0.0075 -0.1839)
OKLCHoklch(59.98% 0.184 272.3)
XYZxyz(25.6668, 20.4158, 81.9287)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D72EC #ECD75D
analogous
#5DBAEC #5D72EC #905DEC
triadic
#5D72EC #EC5D72 #72EC5D
tetradic
#5D72EC #EC5DBA #ECD75D #5DEC90
square
#5D72EC #EC5DBA #ECD75D #5DEC90
split-complementary
#5D72EC #EC905D #BAEC5D
monochromatic
#162EB9 #2642E6 #5D72EC #94A2F2 #CBD1F9

Accessibility & contrast

On white

4.13
#5D72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5D72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D72EC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D72EC#FFFFFF#000000##000000
##5D72EC1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d72ec;
/* rgb */ color: rgb(93, 114, 236);
/* oklch */ color: oklch(60.0% 0.184 272.3);
Tailwind
colors: {
  custom: {
    50: '#979af3',
    500: '#5d72ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d72ec;
$custom-light: #979af3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d72ec",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 231.189,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.18401,
    "h": 272.3
  },
  "luminance": 0.20418
}

Semantic roles & 50–950 ramp

primary
#5D72EC
secondary
#EBE4BA
accent
#BD0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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