#5A73DA#5A73DA

#5A73DA is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.8% C 0.159 H 270.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5A73DA
RGBrgb(90, 115, 218)
HSLhsl(228, 63%, 60%)
HSVhsv(228, 59%, 85%)
CMYKcmyk(58.7%, 47.2%, 0%, 14.5%)
CIE-LABlab(51.26, 21.65, -55.71)
CIE-LCHlch(51.26, 59.77, 291.23°)
OKLaboklab(58.78% 0.0016 -0.1591)
OKLCHoklch(58.78% 0.159 270.6)
XYZxyz(22.9979, 19.4953, 68.8671)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73DA #DAC15A
analogous
#5AB3DA #5A73DA #815ADA
triadic
#5A73DA #DA5A73 #73DA5A
tetradic
#5A73DA #DA5AB3 #DAC15A #5ADA81
square
#5A73DA #DA5AB3 #DAC15A #5ADA81
split-complementary
#5A73DA #DA815A #B3DA5A
monochromatic
#223998 #2D4CCA #5A73DA #8C9DE5 #BEC8F0

Accessibility & contrast

On white

4.29
#5A73DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5A73DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73DA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73DA#FFFFFF#000000##000000
##5A73DA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DE
Deuteranopia (green-blind)
#2C75D8
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a73da;
/* rgb */ color: rgb(90, 115, 218);
/* oklch */ color: oklch(58.8% 0.159 270.6);
Tailwind
colors: {
  custom: {
    50: '#939ae6',
    500: '#5a73da',
    950: '#000000',
  },
}
SCSS
$custom: #5a73da;
$custom-light: #939ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73da",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 218
  },
  "hsl": {
    "h": 228.281,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58784,
    "c": 0.15911,
    "h": 270.6
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

primary
#5A73DA
secondary
#E0D7AF
accent
#A91ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A73DA

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

Preview Lab → · Contrast checker → · Palette generator →

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