#5C72E4#5C72E4

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

Color values

HEX#5C72E4
RGBrgb(92, 114, 228)
HSLhsl(230, 72%, 63%)
HSVhsv(230, 60%, 89%)
CMYKcmyk(59.6%, 50%, 0%, 10.6%)
CIE-LABlab(51.73, 25.95, -60.58)
CIE-LCHlch(51.73, 65.90, 293.18°)
OKLaboklab(59.37% 0.0058 -0.1734)
OKLCHoklch(59.37% 0.174 271.9)
XYZxyz(24.4299, 19.9094, 75.9393)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C72E4 #E4CE5C
analogous
#5CB6E4 #5C72E4 #8A5CE4
triadic
#5C72E4 #E45C72 #72E45C
tetradic
#5C72E4 #E45CB6 #E4CE5C #5CE48A
square
#5C72E4 #E45CB6 #E4CE5C #5CE48A
split-complementary
#5C72E4 #E48A5C #B6E45C
monochromatic
#1C33AA #2745DB #5C72E4 #919FED #C5CDF5

Accessibility & contrast

On white

4.22
#5C72E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5C72E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C72E4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C72E4#FFFFFF#000000##000000
##5C72E41.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c72e4;
/* rgb */ color: rgb(92, 114, 228);
/* oklch */ color: oklch(59.4% 0.173 271.9);
Tailwind
colors: {
  custom: {
    50: '#969aed',
    500: '#5c72e4',
    950: '#000000',
  },
}
SCSS
$custom: #5c72e4;
$custom-light: #969aed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c72e4",
  "rgb": {
    "r": 92,
    "g": 114,
    "b": 228
  },
  "hsl": {
    "h": 230.294,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59371,
    "c": 0.1735,
    "h": 271.9
  },
  "luminance": 0.19911
}

Semantic roles & 50–950 ramp

primary
#5C72E4
secondary
#E7DFB5
accent
#B412D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C72E4

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

Preview Lab → · Contrast checker → · Palette generator →

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