#5A73CD#5A73CD

#5A73CD is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.0% C 0.141 H 269.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5A73CD
RGBrgb(90, 115, 205)
HSLhsl(227, 53%, 58%)
HSVhsv(227, 56%, 80%)
CMYKcmyk(56.1%, 43.9%, 0%, 19.6%)
CIE-LABlab(50.50, 17.36, -49.55)
CIE-LCHlch(50.50, 52.50, 289.31°)
OKLaboklab(57.96% -0.0003 -0.141)
OKLCHoklch(57.96% 0.141 269.9)
XYZxyz(21.3630, 18.8413, 60.2568)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73CD #CDB45A
analogous
#5AACCD #5A73CD #7B5ACD
triadic
#5A73CD #CD5A73 #73CD5A
tetradic
#5A73CD #CD5AAC #CDB45A #5ACD7B
square
#5A73CD #CD5AAC #CDB45A #5ACD7B
split-complementary
#5A73CD #CD7B5A #ACCD5A
monochromatic
#283C84 #3652B3 #5A73CD #899BDB #B8C3E9

Accessibility & contrast

On white

4.40
#5A73CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5A73CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73CD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73CD#FFFFFF#000000##000000
##5A73CD1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED0
Deuteranopia (green-blind)
#3D73CB
Tritanopia (blue-blind)
#128796
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a73cd;
/* rgb */ color: rgb(90, 115, 205);
/* oklch */ color: oklch(58.0% 0.141 269.9);
Tailwind
colors: {
  custom: {
    50: '#919add',
    500: '#5a73cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a73cd;
$custom-light: #919add;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73cd",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 226.957,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57958,
    "c": 0.141,
    "h": 269.9
  },
  "luminance": 0.18843
}

Semantic roles & 50–950 ramp

primary
#5A73CD
secondary
#D8CEAA
accent
#BD4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A73CD

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

Preview Lab → · Contrast checker → · Palette generator →

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