#5173CA#5173CA

#5173CA is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.3% C 0.140 H 266.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5173CA
RGBrgb(81, 115, 202)
HSLhsl(223, 53%, 55%)
HSVhsv(223, 60%, 79%)
CMYKcmyk(59.9%, 43.1%, 0%, 20.8%)
CIE-LABlab(49.83, 14.56, -48.94)
CIE-LCHlch(49.83, 51.06, 286.57°)
OKLaboklab(57.25% -0.0096 -0.1394)
OKLCHoklch(57.25% 0.14 266.1)
XYZxyz(20.1811, 18.2734, 58.3293)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5173CA #CAA851
analogous
#51B0CA #5173CA #6B51CA
triadic
#5173CA #CA5173 #73CA51
tetradic
#5173CA #CA51B0 #CAA851 #51CA6B
square
#5173CA #CA51B0 #CAA851 #51CA6B
split-complementary
#5173CA #CA6B51 #B0CA51
monochromatic
#253E7B #3455AA #5173CA #8099D8 #AFBEE7

Accessibility & contrast

On white

4.51
#5173CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5173CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5173CA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5173CA#FFFFFF#000000##000000
##5173CA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCD
Deuteranopia (green-blind)
#3B71C8
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5173ca;
/* rgb */ color: rgb(81, 115, 202);
/* oklch */ color: oklch(57.3% 0.140 266.1);
Tailwind
colors: {
  custom: {
    50: '#8c9ada',
    500: '#5173ca',
    950: '#000000',
  },
}
SCSS
$custom: #5173ca;
$custom-light: #8c9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5173ca",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 223.14,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.13973,
    "h": 266.1
  },
  "luminance": 0.18275
}

Semantic roles & 50–950 ramp

primary
#5173CA
secondary
#D5C6A2
accent
#B44BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5173CA

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

Preview Lab → · Contrast checker → · Palette generator →

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