#5A73DC#5A73DC

#5A73DC is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.9% C 0.162 H 270.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5A73DC
RGBrgb(90, 115, 220)
HSLhsl(228, 65%, 61%)
HSVhsv(228, 59%, 86%)
CMYKcmyk(59.1%, 47.7%, 0%, 13.7%)
CIE-LABlab(51.38, 22.31, -56.65)
CIE-LCHlch(51.38, 60.88, 291.50°)
OKLaboklab(58.91% 0.0019 -0.1619)
OKLCHoklch(58.91% 0.162 270.7)
XYZxyz(23.2611, 19.6006, 70.2538)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73DC #DCC35A
analogous
#5AB4DC #5A73DC #825ADC
triadic
#5A73DC #DC5A73 #73DC5A
tetradic
#5A73DC #DC5AB4 #DCC35A #5ADC82
square
#5A73DC #DC5AB4 #DCC35A #5ADC82
split-complementary
#5A73DC #DC825A #B4DC5A
monochromatic
#21389B #2C4BCD #5A73DC #8C9EE7 #BFC9F1

Accessibility & contrast

On white

4.27
#5A73DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5A73DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73DC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73DC#FFFFFF#000000##000000
##5A73DC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80E0
Deuteranopia (green-blind)
#2975DA
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a73dc;
/* rgb */ color: rgb(90, 115, 220);
/* oklch */ color: oklch(58.9% 0.162 270.7);
Tailwind
colors: {
  custom: {
    50: '#939ae7',
    500: '#5a73dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a73dc;
$custom-light: #939ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73dc",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 228.462,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58915,
    "c": 0.16187,
    "h": 270.7
  },
  "luminance": 0.19602
}

Semantic roles & 50–950 ramp

primary
#5A73DC
secondary
#E2D8B0
accent
#AA19CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A73DC

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

Preview Lab → · Contrast checker → · Palette generator →

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