#516AC8#516AC8

#516AC8 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.3% C 0.148 H 269.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#516AC8
RGBrgb(81, 106, 200)
HSLhsl(227, 52%, 55%)
HSVhsv(227, 60%, 78%)
CMYKcmyk(59.5%, 47%, 0%, 21.6%)
CIE-LABlab(47.27, 19.48, -51.88)
CIE-LCHlch(47.27, 55.42, 290.58°)
OKLaboklab(55.26% -0.0005 -0.1481)
OKLCHoklch(55.26% 0.148 269.8)
XYZxyz(18.9692, 16.2260, 56.7647)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AC8 #C8AF51
analogous
#51A5C8 #516AC8 #7351C8
triadic
#516AC8 #C8516A #6AC851
tetradic
#516AC8 #C851A5 #C8AF51 #51C873
square
#516AC8 #C851A5 #C8AF51 #51C873
split-complementary
#516AC8 #C87351 #A5C851
monochromatic
#263779 #354DA7 #516AC8 #8092D7 #AEBAE5

Accessibility & contrast

On white

4.95
#516AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#516AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516AC8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AC8#FFFFFF#000000##FFFFFF
##516AC81.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CB
Deuteranopia (green-blind)
#296BC6
Tritanopia (blue-blind)
#007F8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516ac8;
/* rgb */ color: rgb(81, 106, 200);
/* oklch */ color: oklch(55.3% 0.148 269.8);
Tailwind
colors: {
  custom: {
    50: '#8c94d9',
    500: '#516ac8',
    950: '#000000',
  },
}
SCSS
$custom: #516ac8;
$custom-light: #8c94d9;
$custom-dark: #000000;
JSON
{
  "hex": "#516ac8",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 200
  },
  "hsl": {
    "h": 227.395,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.14815,
    "h": 269.8
  },
  "luminance": 0.16228
}

Semantic roles & 50–950 ramp

primary
#516AC8
secondary
#D3C9A1
accent
#BD4CDB
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516AC8

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

Preview Lab → · Contrast checker → · Palette generator →

#516AC8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva