#5A73CA#5A73CA

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

Color values

HEX#5A73CA
RGBrgb(90, 115, 202)
HSLhsl(227, 51%, 57%)
HSVhsv(227, 55%, 79%)
CMYKcmyk(55.4%, 43.1%, 0%, 20.8%)
CIE-LABlab(50.33, 16.38, -48.10)
CIE-LCHlch(50.33, 50.82, 288.80°)
OKLaboklab(57.77% -0.0008 -0.1368)
OKLCHoklch(57.77% 0.137 269.7)
XYZxyz(21.0043, 18.6978, 58.3679)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73CA #CAB15A
analogous
#5AABCA #5A73CA #795ACA
triadic
#5A73CA #CA5A73 #73CA5A
tetradic
#5A73CA #CA5AAB #CAB15A #5ACA79
square
#5A73CA #CA5AAB #CAB15A #5ACA79
split-complementary
#5A73CA #CA795A #ABCA5A
monochromatic
#293D80 #3853AF #5A73CA #889AD9 #B7C2E8

Accessibility & contrast

On white

4.43
#5A73CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5A73CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73CA#FFFFFF#000000##000000
##5A73CA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCD
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#198695
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a73ca;
/* rgb */ color: rgb(90, 115, 202);
/* oklch */ color: oklch(57.8% 0.137 269.7);
Tailwind
colors: {
  custom: {
    50: '#919ada',
    500: '#5a73ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a73ca;
$custom-light: #919ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73ca",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 226.607,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.13677,
    "h": 269.7
  },
  "luminance": 0.18699
}

Semantic roles & 50–950 ramp

primary
#5A73CA
secondary
#D7CCA9
accent
#BB4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A73CA

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

Preview Lab → · Contrast checker → · Palette generator →

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