#5A73BB#5A73BB

#5A73BB is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.9% C 0.115 H 268.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5A73BB
RGBrgb(90, 115, 187)
HSLhsl(225, 42%, 54%)
HSVhsv(225, 52%, 73%)
CMYKcmyk(51.9%, 38.5%, 0%, 26.7%)
CIE-LABlab(49.52, 11.53, -40.78)
CIE-LCHlch(49.52, 42.38, 285.79°)
OKLaboklab(56.89% -0.0037 -0.1153)
OKLCHoklch(56.89% 0.115 268.1)
XYZxyz(19.3139, 18.0217, 49.4649)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73BB #BBA25A
analogous
#5AA4BB #5A73BB #725ABB
triadic
#5A73BB #BB5A73 #73BB5A
tetradic
#5A73BB #BB5AA4 #BBA25A #5ABB72
square
#5A73BB #BB5AA4 #BBA25A #5ABB72
split-complementary
#5A73BB #BB725A #A4BB5A
monochromatic
#2D3E6D #3F5699 #5A73BB #8598CD #B1BDDF

Accessibility & contrast

On white

4.56
#5A73BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5A73BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73BB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73BB#FFFFFF#000000##000000
##5A73BB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#577ABE
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#2D828E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a73bb;
/* rgb */ color: rgb(90, 115, 187);
/* oklch */ color: oklch(56.9% 0.115 268.1);
Tailwind
colors: {
  custom: {
    50: '#8f9bd0',
    500: '#5a73bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a73bb;
$custom-light: #8f9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73bb",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 224.536,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.11539,
    "h": 268.1
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#5A73BB
secondary
#CDC2A4
accent
#B256D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A73BB

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

Preview Lab → · Contrast checker → · Palette generator →

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