#5A73CB#5A73CB

#5A73CB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.8% C 0.138 H 269.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5A73CB
RGBrgb(90, 115, 203)
HSLhsl(227, 52%, 57%)
HSVhsv(227, 56%, 80%)
CMYKcmyk(55.7%, 43.3%, 0%, 20.4%)
CIE-LABlab(50.39, 16.71, -48.58)
CIE-LCHlch(50.39, 51.38, 288.98°)
OKLaboklab(57.83% -0.0006 -0.1382)
OKLCHoklch(57.83% 0.138 269.7)
XYZxyz(21.1231, 18.7454, 58.9934)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73CB #CBB25A
analogous
#5AABCB #5A73CB #7A5ACB
triadic
#5A73CB #CB5A73 #73CB5A
tetradic
#5A73CB #CB5AAB #CBB25A #5ACB7A
square
#5A73CB #CB5AAB #CBB25A #5ACB7A
split-complementary
#5A73CB #CB7A5A #ABCB5A
monochromatic
#293D82 #3852B0 #5A73CB #899ADA #B7C2E8

Accessibility & contrast

On white

4.42
#5A73CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5A73CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73CB#FFFFFF#000000##000000
##5A73CB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#3F73C9
Tritanopia (blue-blind)
#178695
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a73cb;
/* rgb */ color: rgb(90, 115, 203);
/* oklch */ color: oklch(57.8% 0.138 269.7);
Tailwind
colors: {
  custom: {
    50: '#919adb',
    500: '#5a73cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a73cb;
$custom-light: #919adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73cb",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 226.726,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.13818,
    "h": 269.7
  },
  "luminance": 0.18747
}

Semantic roles & 50–950 ramp

primary
#5A73CB
secondary
#D7CDAA
accent
#BC4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A73CB

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

Preview Lab → · Contrast checker → · Palette generator →

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