#5173BD#5173BD

#5173BD is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.5% C 0.121 H 264.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5173BD
RGBrgb(81, 115, 189)
HSLhsl(221, 45%, 53%)
HSVhsv(221, 57%, 74%)
CMYKcmyk(57.1%, 39.2%, 0%, 25.9%)
CIE-LABlab(49.11, 10.19, -42.62)
CIE-LCHlch(49.11, 43.82, 283.45°)
OKLaboklab(56.47% -0.0122 -0.1209)
OKLCHoklch(56.47% 0.121 264.2)
XYZxyz(18.7063, 17.6834, 50.5617)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5173BD #BD9B51
analogous
#51A9BD #5173BD #6551BD
triadic
#5173BD #BD5173 #73BD51
tetradic
#5173BD #BD51A9 #BD9B51 #51BD65
square
#5173BD #BD51A9 #BD9B51 #51BD65
split-complementary
#5173BD #BD6551 #A9BD51
monochromatic
#293D6B #395797 #5173BD #7D97CE #AABADF

Accessibility & contrast

On white

4.63
#5173BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5173BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5173BD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5173BD#FFFFFF#000000##FFFFFF
##5173BD1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#4670BB
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5173bd;
/* rgb */ color: rgb(81, 115, 189);
/* oklch */ color: oklch(56.5% 0.121 264.2);
Tailwind
colors: {
  custom: {
    50: '#8a9ad1',
    500: '#5173bd',
    950: '#000000',
  },
}
SCSS
$custom: #5173bd;
$custom-light: #8a9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#5173bd",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 221.111,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.12149,
    "h": 264.2
  },
  "luminance": 0.17685
}

Semantic roles & 50–950 ramp

primary
#5173BD
secondary
#CCBE9E
accent
#AC53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5173BD

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

Preview Lab → · Contrast checker → · Palette generator →

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