#5173FF#5173FF

#5173FF is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 60.9% C 0.211 H 268.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5173FF
RGBrgb(81, 115, 255)
HSLhsl(228, 100%, 66%)
HSVhsv(228, 68%, 100%)
CMYKcmyk(68.2%, 54.9%, 0%, 0%)
CIE-LABlab(53.20, 32.70, -73.29)
CIE-LCHlch(53.20, 80.25, 294.05°)
OKLaboklab(60.89% -0.0039 -0.211)
OKLCHoklch(60.89% 0.211 268.9)
XYZxyz(27.5679, 21.2281, 97.2329)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5173FF #FFDD51
analogous
#51CAFF #5173FF #8651FF
triadic
#5173FF #FF5173 #73FF51
tetradic
#5173FF #FF51CA #FFDD51 #51FF86
square
#5173FF #FF51CA #FFDD51 #51FF86
split-complementary
#5173FF #FF8651 #CAFF51
monochromatic
#002AD6 #1442FF #5173FF #8EA4FF #CBD5FF

Accessibility & contrast

On white

4.00
#5173FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5173FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5173FF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5173FF#FFFFFF#000000##000000
##5173FF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0077FC
Tritanopia (blue-blind)
#0095AE
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5173ff;
/* rgb */ color: rgb(81, 115, 255);
/* oklch */ color: oklch(60.9% 0.211 268.9);
Tailwind
colors: {
  custom: {
    50: '#959aff',
    500: '#5173ff',
    950: '#000000',
  },
}
SCSS
$custom: #5173ff;
$custom-light: #959aff;
$custom-dark: #000000;
JSON
{
  "hex": "#5173ff",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 255
  },
  "hsl": {
    "h": 228.276,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60888,
    "c": 0.21105,
    "h": 268.9
  },
  "luminance": 0.21231
}

Semantic roles & 50–950 ramp

primary
#5173FF
secondary
#F3E7B9
accent
#B900E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5173FF

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

Preview Lab → · Contrast checker → · Palette generator →

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