#5173BC#5173BC

#5173BC is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.4% C 0.120 H 264.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5173BC
RGBrgb(81, 115, 188)
HSLhsl(221, 44%, 53%)
HSVhsv(221, 57%, 74%)
CMYKcmyk(56.9%, 38.8%, 0%, 26.3%)
CIE-LABlab(49.06, 9.86, -42.13)
CIE-LCHlch(49.06, 43.26, 283.17°)
OKLaboklab(56.41% -0.0124 -0.1194)
OKLCHoklch(56.41% 0.12 264.1)
XYZxyz(18.5981, 17.6402, 49.9920)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5173BC #BC9A51
analogous
#51A8BC #5173BC #6551BC
triadic
#5173BC #BC5173 #73BC51
tetradic
#5173BC #BC51A8 #BC9A51 #51BC65
square
#5173BC #BC51A8 #BC9A51 #51BC65
split-complementary
#5173BC #BC6551 #A8BC51
monochromatic
#293D6A #3A5796 #5173BC #7D97CD #A9BADE

Accessibility & contrast

On white

4.64
#5173BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5173BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5173BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5173BC#FFFFFF#000000##FFFFFF
##5173BC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#01838E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5173bc;
/* rgb */ color: rgb(81, 115, 188);
/* oklch */ color: oklch(56.4% 0.120 264.1);
Tailwind
colors: {
  custom: {
    50: '#8a9ad0',
    500: '#5173bc',
    950: '#000000',
  },
}
SCSS
$custom: #5173bc;
$custom-light: #8a9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5173bc",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 220.935,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.12008,
    "h": 264.1
  },
  "luminance": 0.17642
}

Semantic roles & 50–950 ramp

primary
#5173BC
secondary
#CCBD9D
accent
#AB54D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5173BC

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

Preview Lab → · Contrast checker → · Palette generator →

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