#5A73DD#5A73DD

#5A73DD is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.0% C 0.163 H 270.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5A73DD
RGBrgb(90, 115, 221)
HSLhsl(229, 66%, 61%)
HSVhsv(229, 59%, 87%)
CMYKcmyk(59.3%, 48%, 0%, 13.3%)
CIE-LABlab(51.44, 22.64, -57.11)
CIE-LCHlch(51.44, 61.44, 291.63°)
OKLaboklab(58.98% 0.002 -0.1632)
OKLCHoklch(58.98% 0.163 270.7)
XYZxyz(23.3940, 19.6537, 70.9533)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73DD #DDC45A
analogous
#5AB4DD #5A73DD #825ADD
triadic
#5A73DD #DD5A73 #73DD5A
tetradic
#5A73DD #DD5AB4 #DDC45A #5ADD82
square
#5A73DD #DD5AB4 #DDC45A #5ADD82
split-complementary
#5A73DD #DD825A #B4DD5A
monochromatic
#20389C #2B4ACF #5A73DD #8D9EE7 #BFC9F2

Accessibility & contrast

On white

4.26
#5A73DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5A73DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73DD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73DD#FFFFFF#000000##000000
##5A73DD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E1
Deuteranopia (green-blind)
#2775DB
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a73dd;
/* rgb */ color: rgb(90, 115, 221);
/* oklch */ color: oklch(59.0% 0.163 270.7);
Tailwind
colors: {
  custom: {
    50: '#939ae8',
    500: '#5a73dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a73dd;
$custom-light: #939ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73dd",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 228.55,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5898,
    "c": 0.16324,
    "h": 270.7
  },
  "luminance": 0.19656
}

Semantic roles & 50–950 ramp

primary
#5A73DD
secondary
#E2D9B1
accent
#AB18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A73DD

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

Preview Lab → · Contrast checker → · Palette generator →

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