#5A73D2#5A73D2

#5A73D2 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.3% C 0.148 H 270.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5A73D2
RGBrgb(90, 115, 210)
HSLhsl(228, 57%, 59%)
HSVhsv(228, 57%, 82%)
CMYKcmyk(57.1%, 45.2%, 0%, 17.6%)
CIE-LABlab(50.79, 19.00, -51.93)
CIE-LCHlch(50.79, 55.30, 290.10°)
OKLaboklab(58.27% 0.0005 -0.148)
OKLCHoklch(58.27% 0.148 270.2)
XYZxyz(21.9762, 19.0866, 63.4863)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73D2 #D2B95A
analogous
#5AAFD2 #5A73D2 #7D5AD2
triadic
#5A73D2 #D25A73 #73D25A
tetradic
#5A73D2 #D25AAF #D2B95A #5AD27D
square
#5A73D2 #D25AAF #D2B95A #5AD27D
split-complementary
#5A73D2 #D27D5A #AFD25A
monochromatic
#263B8C #3350BC #5A73D2 #8A9CDF #BAC5EC

Accessibility & contrast

On white

4.36
#5A73D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5A73D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73D2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73D2#FFFFFF#000000##000000
##5A73D21.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#487FD6
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a73d2;
/* rgb */ color: rgb(90, 115, 210);
/* oklch */ color: oklch(58.3% 0.148 270.2);
Tailwind
colors: {
  custom: {
    50: '#929ae0',
    500: '#5a73d2',
    950: '#000000',
  },
}
SCSS
$custom: #5a73d2;
$custom-light: #929ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73d2",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 210
  },
  "hsl": {
    "h": 227.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5827,
    "c": 0.14801,
    "h": 270.2
  },
  "luminance": 0.19088
}

Semantic roles & 50–950 ramp

primary
#5A73D2
secondary
#DCD2AC
accent
#C147E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5A73D2

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

Preview Lab → · Contrast checker → · Palette generator →

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