#5A72CA#5A72CA

#5A72CA is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.6% C 0.138 H 270.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5A72CA
RGBrgb(90, 114, 202)
HSLhsl(227, 51%, 57%)
HSVhsv(227, 55%, 79%)
CMYKcmyk(55.4%, 43.6%, 0%, 20.8%)
CIE-LABlab(50.06, 17.00, -48.53)
CIE-LCHlch(50.06, 51.42, 289.30°)
OKLaboklab(57.57% 0.0003 -0.138)
OKLCHoklch(57.57% 0.138 270.1)
XYZxyz(20.8909, 18.4710, 58.3301)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72CA #CAB25A
analogous
#5AAACA #5A72CA #7A5ACA
triadic
#5A72CA #CA5A72 #72CA5A
tetradic
#5A72CA #CA5AAA #CAB25A #5ACA7A
square
#5A72CA #CA5AAA #CAB25A #5ACA7A
split-complementary
#5A72CA #CA7A5A #AACA5A
monochromatic
#293C80 #3852AF #5A72CA #889AD9 #B7C1E8

Accessibility & contrast

On white

4.47
#5A72CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5A72CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A72CA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72CA#FFFFFF#000000##000000
##5A72CA1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCD
Deuteranopia (green-blind)
#3E72C8
Tritanopia (blue-blind)
#198594
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a72ca;
/* rgb */ color: rgb(90, 114, 202);
/* oklch */ color: oklch(57.6% 0.138 270.1);
Tailwind
colors: {
  custom: {
    50: '#919ada',
    500: '#5a72ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a72ca;
$custom-light: #919ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72ca",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 227.143,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57567,
    "c": 0.13804,
    "h": 270.1
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

primary
#5A72CA
secondary
#D7CDA9
accent
#BC4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A72CA

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

Preview Lab → · Contrast checker → · Palette generator →

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