#5173CF#5173CF

#5173CF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.6% C 0.147 H 266.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5173CF
RGBrgb(81, 115, 207)
HSLhsl(224, 57%, 56%)
HSVhsv(224, 61%, 81%)
CMYKcmyk(60.9%, 44.4%, 0%, 18.8%)
CIE-LABlab(50.11, 16.25, -51.33)
CIE-LCHlch(50.11, 53.84, 287.57°)
OKLaboklab(57.57% -0.0088 -0.1464)
OKLCHoklch(57.57% 0.147 266.6)
XYZxyz(20.7827, 18.5140, 61.4977)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5173CF #CFAD51
analogous
#51B2CF #5173CF #6E51CF
triadic
#5173CF #CF5173 #73CF51
tetradic
#5173CF #CF51B2 #CFAD51 #51CF6E
square
#5173CF #CF51B2 #CFAD51 #51CF6E
split-complementary
#5173CF #CF6E51 #B2CF51
monochromatic
#243D82 #3154B2 #5173CF #819ADC #B1C0E9

Accessibility & contrast

On white

4.47
#5173CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5173CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5173CF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5173CF#FFFFFF#000000##000000
##5173CF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD2
Deuteranopia (green-blind)
#3572CD
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5173cf;
/* rgb */ color: rgb(81, 115, 207);
/* oklch */ color: oklch(57.6% 0.147 266.6);
Tailwind
colors: {
  custom: {
    50: '#8d9ade',
    500: '#5173cf',
    950: '#000000',
  },
}
SCSS
$custom: #5173cf;
$custom-light: #8d9ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5173cf",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 223.81,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57565,
    "c": 0.14669,
    "h": 266.6
  },
  "luminance": 0.18516
}

Semantic roles & 50–950 ramp

primary
#5173CF
secondary
#D8CAA4
accent
#B748E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5173CF

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

Preview Lab → · Contrast checker → · Palette generator →

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