#5A73CC#5A73CC

#5A73CC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.9% C 0.140 H 269.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5A73CC
RGBrgb(90, 115, 204)
HSLhsl(227, 53%, 58%)
HSVhsv(227, 56%, 80%)
CMYKcmyk(55.9%, 43.6%, 0%, 20%)
CIE-LABlab(50.44, 17.03, -49.07)
CIE-LCHlch(50.44, 51.94, 289.14°)
OKLaboklab(57.9% -0.0004 -0.1396)
OKLCHoklch(57.9% 0.14 269.8)
XYZxyz(21.2427, 18.7932, 59.6231)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73CC #CCB35A
analogous
#5AACCC #5A73CC #7A5ACC
triadic
#5A73CC #CC5A73 #73CC5A
tetradic
#5A73CC #CC5AAC #CCB35A #5ACC7A
square
#5A73CC #CC5AAC #CCB35A #5ACC7A
split-complementary
#5A73CC #CC7A5A #ACCC5A
monochromatic
#293C83 #3752B2 #5A73CC #899BDA #B7C2E9

Accessibility & contrast

On white

4.41
#5A73CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5A73CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73CC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73CC#FFFFFF#000000##000000
##5A73CC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCF
Deuteranopia (green-blind)
#3E73CA
Tritanopia (blue-blind)
#158795
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a73cc;
/* rgb */ color: rgb(90, 115, 204);
/* oklch */ color: oklch(57.9% 0.140 269.8);
Tailwind
colors: {
  custom: {
    50: '#919adc',
    500: '#5a73cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a73cc;
$custom-light: #919adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73cc",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 226.842,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.13959,
    "h": 269.8
  },
  "luminance": 0.18795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A73CC

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

Preview Lab → · Contrast checker → · Palette generator →

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