#5A72CE#5A72CE

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

Color values

HEX#5A72CE
RGBrgb(90, 114, 206)
HSLhsl(228, 54%, 58%)
HSVhsv(228, 56%, 81%)
CMYKcmyk(56.3%, 44.7%, 0%, 19.2%)
CIE-LABlab(50.29, 18.30, -50.45)
CIE-LCHlch(50.29, 53.67, 289.94°)
OKLaboklab(57.82% 0.001 -0.1437)
OKLCHoklch(57.82% 0.144 270.4)
XYZxyz(21.3707, 18.6629, 60.8567)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72CE #CEB65A
analogous
#5AACCE #5A72CE #7C5ACE
triadic
#5A72CE #CE5A72 #72CE5A
tetradic
#5A72CE #CE5AAC #CEB65A #5ACE7C
square
#5A72CE #CE5AAC #CEB65A #5ACE7C
split-complementary
#5A72CE #CE7C5A #ACCE5A
monochromatic
#283B86 #3650B5 #5A72CE #899ADC #B8C3EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A72CE#FFFFFF#000000##000000
##5A72CE1.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)
#497DD1
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#108696
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a72ce;
/* rgb */ color: rgb(90, 114, 206);
/* oklch */ color: oklch(57.8% 0.144 270.4);
Tailwind
colors: {
  custom: {
    50: '#919add',
    500: '#5a72ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a72ce;
$custom-light: #919add;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72ce",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 227.586,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57815,
    "c": 0.14367,
    "h": 270.4
  },
  "luminance": 0.18665
}

Semantic roles & 50–950 ramp

primary
#5A72CE
secondary
#D9CFAB
accent
#BF4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5A72CE

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

Preview Lab → · Contrast checker → · Palette generator →

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