#5D72CF#5D72CF

#5D72CF is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.1% C 0.144 H 271.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5D72CF
RGBrgb(93, 114, 207)
HSLhsl(229, 54%, 59%)
HSVhsv(229, 55%, 81%)
CMYKcmyk(55.1%, 44.9%, 0%, 18.8%)
CIE-LABlab(50.53, 19.25, -50.63)
CIE-LCHlch(50.53, 54.17, 290.82°)
OKLaboklab(58.06% 0.0042 -0.1441)
OKLCHoklch(58.06% 0.144 271.7)
XYZxyz(21.7903, 18.8652, 61.5125)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D72CF #CFBA5D
analogous
#5DABCF #5D72CF #815DCF
triadic
#5D72CF #CF5D72 #72CF5D
tetradic
#5D72CF #CF5DAB #CFBA5D #5DCF81
square
#5D72CF #CF5DAB #CFBA5D #5DCF81
split-complementary
#5D72CF #CF815D #ABCF5D
monochromatic
#293A89 #374EB8 #5D72CF #8C9BDD #BBC4EB

Accessibility & contrast

On white

4.40
#5D72CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5D72CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D72CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D72CF#FFFFFF#000000##000000
##5D72CF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD2
Deuteranopia (green-blind)
#3A74CD
Tritanopia (blue-blind)
#1E8696
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d72cf;
/* rgb */ color: rgb(93, 114, 207);
/* oklch */ color: oklch(58.1% 0.144 271.7);
Tailwind
colors: {
  custom: {
    50: '#939ade',
    500: '#5d72cf',
    950: '#000000',
  },
}
SCSS
$custom: #5d72cf;
$custom-light: #939ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5d72cf",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 228.947,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.14419,
    "h": 271.7
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#5D72CF
secondary
#DAD2AD
accent
#C24ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D72CF

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

Preview Lab → · Contrast checker → · Palette generator →

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