#5173CD#5173CD

#5173CD is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.4% C 0.144 H 266.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5173CD
RGBrgb(81, 115, 205)
HSLhsl(224, 55%, 56%)
HSVhsv(224, 60%, 80%)
CMYKcmyk(60.5%, 43.9%, 0%, 19.6%)
CIE-LABlab(50.00, 15.57, -50.38)
CIE-LCHlch(50.00, 52.73, 287.18°)
OKLaboklab(57.44% -0.0091 -0.1436)
OKLCHoklch(57.44% 0.144 266.4)
XYZxyz(20.5398, 18.4168, 60.2182)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5173CD #CDAB51
analogous
#51B1CD #5173CD #6D51CD
triadic
#5173CD #CD5173 #73CD51
tetradic
#5173CD #CD51B1 #CDAB51 #51CD6D
square
#5173CD #CD51B1 #CDAB51 #51CD6D
split-complementary
#5173CD #CD6D51 #B1CD51
monochromatic
#253D7F #3254AF #5173CD #8199DB #B0BFE8

Accessibility & contrast

On white

4.48
#5173CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5173CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5173CD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5173CD#FFFFFF#000000##000000
##5173CD1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#3772CB
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5173cd;
/* rgb */ color: rgb(81, 115, 205);
/* oklch */ color: oklch(57.4% 0.144 266.4);
Tailwind
colors: {
  custom: {
    50: '#8c9add',
    500: '#5173cd',
    950: '#000000',
  },
}
SCSS
$custom: #5173cd;
$custom-light: #8c9add;
$custom-dark: #000000;
JSON
{
  "hex": "#5173cd",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 223.548,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.14391,
    "h": 266.4
  },
  "luminance": 0.18419
}

Semantic roles & 50–950 ramp

primary
#5173CD
secondary
#D7C8A3
accent
#B649DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5173CD

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

Preview Lab → · Contrast checker → · Palette generator →

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