#5169D8#5169D8

#5169D8 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.1% C 0.172 H 270.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5169D8
RGBrgb(81, 105, 216)
HSLhsl(229, 63%, 58%)
HSVhsv(229, 63%, 85%)
CMYKcmyk(62.5%, 51.4%, 0%, 15.3%)
CIE-LABlab(48.02, 25.54, -59.82)
CIE-LCHlch(48.02, 65.04, 293.12°)
OKLaboklab(56.15% 0.0023 -0.1715)
OKLCHoklch(56.15% 0.172 270.8)
XYZxyz(20.8354, 16.8086, 67.0988)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169D8 #D8C051
analogous
#51ADD8 #5169D8 #7C51D8
triadic
#5169D8 #D85169 #69D851
tetradic
#5169D8 #D851AD #D8C051 #51D87C
square
#5169D8 #D851AD #D8C051 #51D87C
split-complementary
#5169D8 #D87C51 #ADD851
monochromatic
#20348F #2B46C1 #5169D8 #8394E3 #B5BFEE

Accessibility & contrast

On white

4.81
#5169D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5169D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169D8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169D8#FFFFFF#000000##FFFFFF
##5169D81.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2778DC
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#008396
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5169d8;
/* rgb */ color: rgb(81, 105, 216);
/* oklch */ color: oklch(56.1% 0.172 270.8);
Tailwind
colors: {
  custom: {
    50: '#8e93e5',
    500: '#5169d8',
    950: '#000000',
  },
}
SCSS
$custom: #5169d8;
$custom-light: #8e93e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5169d8",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 216
  },
  "hsl": {
    "h": 229.333,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56148,
    "c": 0.17153,
    "h": 270.8
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#5169D8
secondary
#DDD4A8
accent
#C941E6
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #5169D8

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

Preview Lab → · Contrast checker → · Palette generator →

#5169D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva