#5173DE#5173DE

#5173DE is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.167 H 267.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5173DE
RGBrgb(81, 115, 222)
HSLhsl(226, 68%, 59%)
HSVhsv(226, 64%, 87%)
CMYKcmyk(63.5%, 48.2%, 0%, 12.9%)
CIE-LABlab(51.02, 21.37, -58.39)
CIE-LCHlch(51.02, 62.18, 290.11°)
OKLaboklab(58.55% -0.0066 -0.1672)
OKLCHoklch(58.55% 0.167 267.7)
XYZxyz(22.7044, 19.2827, 71.6185)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5173DE #DEBC51
analogous
#51BADE #5173DE #7651DE
triadic
#5173DE #DE5173 #73DE51
tetradic
#5173DE #DE51BA #DEBC51 #51DE76
square
#5173DE #DE51BA #DEBC51 #51DE76
split-complementary
#5173DE #DE7651 #BADE51
monochromatic
#1D3A98 #274ECB #5173DE #849CE8 #B8C6F2

Accessibility & contrast

On white

4.32
#5173DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5173DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5173DE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5173DE#FFFFFF#000000##000000
##5173DE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E2
Deuteranopia (green-blind)
#1B73DC
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5173de;
/* rgb */ color: rgb(81, 115, 222);
/* oklch */ color: oklch(58.5% 0.167 267.7);
Tailwind
colors: {
  custom: {
    50: '#8f9ae9',
    500: '#5173de',
    950: '#000000',
  },
}
SCSS
$custom: #5173de;
$custom-light: #8f9ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5173de",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 222
  },
  "hsl": {
    "h": 225.532,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58545,
    "c": 0.1673,
    "h": 267.7
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#5173DE
secondary
#E1D4AA
accent
#C13DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5173DE

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

Preview Lab → · Contrast checker → · Palette generator →

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