#5173BB#5173BB

#5173BB is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.3% C 0.119 H 263.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5173BB
RGBrgb(81, 115, 187)
HSLhsl(221, 44%, 53%)
HSVhsv(221, 57%, 73%)
CMYKcmyk(56.7%, 38.5%, 0%, 26.7%)
CIE-LABlab(49.00, 9.53, -41.63)
CIE-LCHlch(49.00, 42.71, 282.89°)
OKLaboklab(56.35% -0.0126 -0.118)
OKLCHoklch(56.35% 0.119 263.9)
XYZxyz(18.4907, 17.5972, 49.4263)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5173BB #BB9951
analogous
#51A8BB #5173BB #6451BB
triadic
#5173BB #BB5173 #73BB51
tetradic
#5173BB #BB51A8 #BB9951 #51BB64
square
#5173BB #BB51A8 #BB9951 #51BB64
split-complementary
#5173BB #BB6451 #A8BB51
monochromatic
#293D69 #3A5795 #5173BB #7D96CC #A9BADD

Accessibility & contrast

On white

4.65
#5173BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5173BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5173BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5173BB#FFFFFF#000000##FFFFFF
##5173BB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#557ABE
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#04838E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5173bb;
/* rgb */ color: rgb(81, 115, 187);
/* oklch */ color: oklch(56.3% 0.119 263.9);
Tailwind
colors: {
  custom: {
    50: '#8a9ad0',
    500: '#5173bb',
    950: '#000000',
  },
}
SCSS
$custom: #5173bb;
$custom-light: #8a9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5173bb",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 220.755,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.11867,
    "h": 263.9
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5173BB

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

Preview Lab → · Contrast checker → · Palette generator →

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