#5A72CD#5A72CD

#5A72CD is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.142 H 270.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5A72CD
RGBrgb(90, 114, 205)
HSLhsl(227, 53%, 58%)
HSVhsv(227, 56%, 80%)
CMYKcmyk(56.1%, 44.4%, 0%, 19.6%)
CIE-LABlab(50.23, 17.98, -49.97)
CIE-LCHlch(50.23, 53.11, 289.79°)
OKLaboklab(57.75% 0.0008 -0.1423)
OKLCHoklch(57.75% 0.142 270.3)
XYZxyz(21.2496, 18.6145, 60.2190)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72CD #CDB55A
analogous
#5AACCD #5A72CD #7B5ACD
triadic
#5A72CD #CD5A72 #72CD5A
tetradic
#5A72CD #CD5AAC #CDB55A #5ACD7B
square
#5A72CD #CD5AAC #CDB55A #5ACD7B
split-complementary
#5A72CD #CD7B5A #ACCD5A
monochromatic
#283B84 #3650B3 #5A72CD #899ADB #B8C2E9

Accessibility & contrast

On white

4.45
#5A72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5A72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A72CD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72CD#FFFFFF#000000##000000
##5A72CD1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#138695
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a72cd;
/* rgb */ color: rgb(90, 114, 205);
/* oklch */ color: oklch(57.8% 0.142 270.3);
Tailwind
colors: {
  custom: {
    50: '#919add',
    500: '#5a72cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a72cd;
$custom-light: #919add;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72cd",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 227.478,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57753,
    "c": 0.14226,
    "h": 270.3
  },
  "luminance": 0.18616
}

Semantic roles & 50–950 ramp

primary
#5A72CD
secondary
#D8CFAA
accent
#BE4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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