#5D72CB#5D72CB

#5D72CB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.8% C 0.139 H 271.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5D72CB
RGBrgb(93, 114, 203)
HSLhsl(229, 51%, 58%)
HSVhsv(229, 54%, 80%)
CMYKcmyk(54.2%, 43.8%, 0%, 20.4%)
CIE-LABlab(50.30, 17.96, -48.71)
CIE-LCHlch(50.30, 51.92, 290.24°)
OKLaboklab(57.82% 0.0036 -0.1385)
OKLCHoklch(57.82% 0.139 271.5)
XYZxyz(21.3075, 18.6721, 58.9696)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D72CB #CBB65D
analogous
#5DA9CB #5D72CB #7F5DCB
triadic
#5D72CB #CB5D72 #72CB5D
tetradic
#5D72CB #CB5DA9 #CBB65D #5DCB7F
square
#5D72CB #CB5DA9 #CBB65D #5DCB7F
split-complementary
#5D72CB #CB7F5D #A9CB5D
monochromatic
#2A3B83 #3950B2 #5D72CB #8B9ADA #BAC3E9

Accessibility & contrast

On white

4.44
#5D72CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5D72CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D72CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D72CB#FFFFFF#000000##000000
##5D72CB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#248595
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d72cb;
/* rgb */ color: rgb(93, 114, 203);
/* oklch */ color: oklch(57.8% 0.139 271.5);
Tailwind
colors: {
  custom: {
    50: '#929adb',
    500: '#5d72cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d72cb;
$custom-light: #929adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d72cb",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 228.545,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.13855,
    "h": 271.5
  },
  "luminance": 0.18674
}

Semantic roles & 50–950 ramp

primary
#5D72CB
secondary
#D8CFAC
accent
#C04DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D72CB

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

Preview Lab → · Contrast checker → · Palette generator →

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