#5A73E5#5A73E5

#5A73E5 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.174 H 270.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5A73E5
RGBrgb(90, 115, 229)
HSLhsl(229, 73%, 63%)
HSVhsv(229, 61%, 90%)
CMYKcmyk(60.7%, 49.8%, 0%, 10.2%)
CIE-LABlab(51.94, 25.30, -60.82)
CIE-LCHlch(51.94, 65.87, 292.59°)
OKLaboklab(59.52% 0.0029 -0.1741)
OKLCHoklch(59.52% 0.174 270.9)
XYZxyz(24.4853, 20.0902, 76.7010)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73E5 #E5CC5A
analogous
#5AB8E5 #5A73E5 #875AE5
triadic
#5A73E5 #E55A73 #73E55A
tetradic
#5A73E5 #E55AB8 #E5CC5A #5AE587
square
#5A73E5 #E55AB8 #E5CC5A #5AE587
split-complementary
#5A73E5 #E5875A #B8E55A
monochromatic
#1B34AA #2546DD #5A73E5 #8FA0ED #C4CDF6

Accessibility & contrast

On white

4.18
#5A73E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5A73E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73E5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73E5#FFFFFF#000000##000000
##5A73E51.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E9
Deuteranopia (green-blind)
#1376E3
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a73e5;
/* rgb */ color: rgb(90, 115, 229);
/* oklch */ color: oklch(59.5% 0.174 270.9);
Tailwind
colors: {
  custom: {
    50: '#959aee',
    500: '#5a73e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a73e5;
$custom-light: #959aee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73e5",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 229
  },
  "hsl": {
    "h": 229.209,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59516,
    "c": 0.17415,
    "h": 270.9
  },
  "luminance": 0.20092
}

Semantic roles & 50–950 ramp

primary
#5A73E5
secondary
#E7DEB4
accent
#B211D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A73E5

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

Preview Lab → · Contrast checker → · Palette generator →

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