#5173CE#5173CE

#5173CE is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.5% C 0.145 H 266.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5173CE
RGBrgb(81, 115, 206)
HSLhsl(224, 56%, 56%)
HSVhsv(224, 61%, 81%)
CMYKcmyk(60.7%, 44.2%, 0%, 19.2%)
CIE-LABlab(50.06, 15.91, -50.86)
CIE-LCHlch(50.06, 53.29, 287.37°)
OKLaboklab(57.5% -0.0089 -0.145)
OKLCHoklch(57.5% 0.145 266.5)
XYZxyz(20.6608, 18.4653, 60.8559)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5173CE #CEAC51
analogous
#51B2CE #5173CE #6E51CE
triadic
#5173CE #CE5173 #73CE51
tetradic
#5173CE #CE51B2 #CEAC51 #51CE6E
square
#5173CE #CE51B2 #CEAC51 #51CE6E
split-complementary
#5173CE #CE6E51 #B2CE51
monochromatic
#243D80 #3254B0 #5173CE #8199DB #B1C0E9

Accessibility & contrast

On white

4.47
#5173CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5173CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5173CE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5173CE#FFFFFF#000000##000000
##5173CE1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5173ce;
/* rgb */ color: rgb(81, 115, 206);
/* oklch */ color: oklch(57.5% 0.145 266.5);
Tailwind
colors: {
  custom: {
    50: '#8c9add',
    500: '#5173ce',
    950: '#000000',
  },
}
SCSS
$custom: #5173ce;
$custom-light: #8c9add;
$custom-dark: #000000;
JSON
{
  "hex": "#5173ce",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 223.68,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.1453,
    "h": 266.5
  },
  "luminance": 0.18467
}

Semantic roles & 50–950 ramp

primary
#5173CE
secondary
#D7C9A4
accent
#B648DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5173CE

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

Preview Lab → · Contrast checker → · Palette generator →

#5173CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva