#5A73CE#5A73CE

#5A73CE is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.0% C 0.142 H 270.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5A73CE
RGBrgb(90, 115, 206)
HSLhsl(227, 54%, 58%)
HSVhsv(227, 56%, 81%)
CMYKcmyk(56.3%, 44.2%, 0%, 19.2%)
CIE-LABlab(50.56, 17.69, -50.02)
CIE-LCHlch(50.56, 53.06, 289.47°)
OKLaboklab(58.02% -0.0001 -0.1424)
OKLCHoklch(58.02% 0.142 270)
XYZxyz(21.4841, 18.8897, 60.8945)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73CE #CEB55A
analogous
#5AADCE #5A73CE #7B5ACE
triadic
#5A73CE #CE5A73 #73CE5A
tetradic
#5A73CE #CE5AAD #CEB55A #5ACE7B
square
#5A73CE #CE5AAD #CEB55A #5ACE7B
split-complementary
#5A73CE #CE7B5A #ADCE5A
monochromatic
#283C86 #3651B5 #5A73CE #899BDC #B8C3EA

Accessibility & contrast

On white

4.39
#5A73CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5A73CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73CE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73CE#FFFFFF#000000##000000
##5A73CE1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#3B74CC
Tritanopia (blue-blind)
#0F8796
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a73ce;
/* rgb */ color: rgb(90, 115, 206);
/* oklch */ color: oklch(58.0% 0.142 270.0);
Tailwind
colors: {
  custom: {
    50: '#919add',
    500: '#5a73ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a73ce;
$custom-light: #919add;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73ce",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 227.069,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5802,
    "c": 0.1424,
    "h": 270
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#5A73CE
secondary
#D9CFAB
accent
#BE4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A73CE

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

Preview Lab → · Contrast checker → · Palette generator →

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