#5173BF#5173BF

#5173BF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.6% C 0.124 H 264.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5173BF
RGBrgb(81, 115, 191)
HSLhsl(221, 46%, 53%)
HSVhsv(221, 58%, 75%)
CMYKcmyk(57.6%, 39.8%, 0%, 25.1%)
CIE-LABlab(49.22, 10.86, -43.60)
CIE-LCHlch(49.22, 44.93, 283.99°)
OKLaboklab(56.58% -0.0118 -0.1237)
OKLCHoklch(56.58% 0.124 264.6)
XYZxyz(18.9248, 17.7709, 51.7129)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5173BF #BF9D51
analogous
#51AABF #5173BF #6651BF
triadic
#5173BF #BF5173 #73BF51
tetradic
#5173BF #BF51AA #BF9D51 #51BF66
square
#5173BF #BF51AA #BF9D51 #51BF66
split-complementary
#5173BF #BF6651 #AABF51
monochromatic
#283E6D #39579A #5173BF #7E97CF #AABBE0

Accessibility & contrast

On white

4.61
#5173BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5173BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5173BF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5173BF#FFFFFF#000000##FFFFFF
##5173BF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#4570BD
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5173bf;
/* rgb */ color: rgb(81, 115, 191);
/* oklch */ color: oklch(56.6% 0.124 264.6);
Tailwind
colors: {
  custom: {
    50: '#8a9ad3',
    500: '#5173bf',
    950: '#000000',
  },
}
SCSS
$custom: #5173bf;
$custom-light: #8a9ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5173bf",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 221.455,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56584,
    "c": 0.12431,
    "h": 264.6
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#5173BF
secondary
#CEBF9E
accent
#AD52D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5173BF

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

Preview Lab → · Contrast checker → · Palette generator →

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