#5A73BC#5A73BC

#5A73BC is a mid, moderate blue. Relative luminance 0.181; OKLCH L 56.9% C 0.117 H 268.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5A73BC
RGBrgb(90, 115, 188)
HSLhsl(225, 42%, 55%)
HSVhsv(225, 52%, 74%)
CMYKcmyk(52.1%, 38.8%, 0%, 26.3%)
CIE-LABlab(49.57, 11.85, -41.27)
CIE-LCHlch(49.57, 42.94, 286.02°)
OKLaboklab(56.94% -0.0035 -0.1168)
OKLCHoklch(56.94% 0.117 268.3)
XYZxyz(19.4213, 18.0646, 50.0306)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73BC #BCA35A
analogous
#5AA4BC #5A73BC #725ABC
triadic
#5A73BC #BC5A73 #73BC5A
tetradic
#5A73BC #BC5AA4 #BCA35A #5ABC72
square
#5A73BC #BC5AA4 #BCA35A #5ABC72
split-complementary
#5A73BC #BC725A #A4BC5A
monochromatic
#2D3E6F #3F569A #5A73BC #8698CE #B1BDDF

Accessibility & contrast

On white

4.55
#5A73BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5A73BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73BC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73BC#FFFFFF#000000##000000
##5A73BC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#567BBF
Deuteranopia (green-blind)
#4B72BA
Tritanopia (blue-blind)
#2C838E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a73bc;
/* rgb */ color: rgb(90, 115, 188);
/* oklch */ color: oklch(56.9% 0.117 268.3);
Tailwind
colors: {
  custom: {
    50: '#8f9bd0',
    500: '#5a73bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a73bc;
$custom-light: #8f9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73bc",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 224.694,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56944,
    "c": 0.11682,
    "h": 268.3
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#5A73BC
secondary
#CEC3A4
accent
#B256D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A73BC

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

Preview Lab → · Contrast checker → · Palette generator →

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