#5A73B5#5A73B5

#5A73B5 is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.6% C 0.107 H 267.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5A73B5
RGBrgb(90, 115, 181)
HSLhsl(224, 38%, 53%)
HSVhsv(224, 50%, 71%)
CMYKcmyk(50.3%, 36.5%, 0%, 29%)
CIE-LABlab(49.22, 9.63, -37.79)
CIE-LCHlch(49.22, 39.00, 284.29°)
OKLaboklab(56.55% -0.0051 -0.1066)
OKLCHoklch(56.55% 0.107 267.2)
XYZxyz(18.6850, 17.7701, 46.1525)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73B5 #B59C5A
analogous
#5AA1B5 #5A73B5 #6E5AB5
triadic
#5A73B5 #B55A73 #73B55A
tetradic
#5A73B5 #B55AA1 #B59C5A #5AB56E
square
#5A73B5 #B55AA1 #B59C5A #5AB56E
split-complementary
#5A73B5 #B56E5A #A1B55A
monochromatic
#2E3E67 #415791 #5A73B5 #8497C8 #AFBBDB

Accessibility & contrast

On white

4.61
#5A73B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5A73B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A73B5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73B5#FFFFFF#000000##FFFFFF
##5A73B51.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B8
Deuteranopia (green-blind)
#5071B4
Tritanopia (blue-blind)
#33818B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a73b5;
/* rgb */ color: rgb(90, 115, 181);
/* oklch */ color: oklch(56.6% 0.107 267.2);
Tailwind
colors: {
  custom: {
    50: '#8e9bcb',
    500: '#5a73b5',
    950: '#000000',
  },
}
SCSS
$custom: #5a73b5;
$custom-light: #8e9bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73b5",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 181
  },
  "hsl": {
    "h": 223.516,
    "s": 38.075,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56551,
    "c": 0.10675,
    "h": 267.2
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#5A73B5
secondary
#C9BEA2
accent
#AE5ACE
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5A73B5

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

Preview Lab → · Contrast checker → · Palette generator →

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