#516CC6#516CC6

#516CC6 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.5% C 0.143 H 268.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#516CC6
RGBrgb(81, 108, 198)
HSLhsl(226, 51%, 55%)
HSVhsv(226, 59%, 78%)
CMYKcmyk(59.1%, 45.5%, 0%, 22.4%)
CIE-LABlab(47.69, 17.56, -50.06)
CIE-LCHlch(47.69, 53.05, 289.33°)
OKLaboklab(55.54% -0.0029 -0.1428)
OKLCHoklch(55.54% 0.143 268.8)
XYZxyz(18.9455, 16.5501, 55.6113)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CC6 #C6AB51
analogous
#51A6C6 #516CC6 #7151C6
triadic
#516CC6 #C6516C #6CC651
tetradic
#516CC6 #C651A6 #C6AB51 #51C671
square
#516CC6 #C651A6 #C6AB51 #51C671
split-complementary
#516CC6 #C67151 #A6C651
monochromatic
#273976 #364FA4 #516CC6 #7F93D5 #ADBAE4

Accessibility & contrast

On white

4.87
#516CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#516CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CC6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CC6#FFFFFF#000000##FFFFFF
##516CC61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4277C9
Deuteranopia (green-blind)
#316CC4
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516cc6;
/* rgb */ color: rgb(81, 108, 198);
/* oklch */ color: oklch(55.5% 0.143 268.8);
Tailwind
colors: {
  custom: {
    50: '#8b95d8',
    500: '#516cc6',
    950: '#000000',
  },
}
SCSS
$custom: #516cc6;
$custom-light: #8b95d8;
$custom-dark: #000000;
JSON
{
  "hex": "#516cc6",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 198
  },
  "hsl": {
    "h": 226.154,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.14281,
    "h": 268.8
  },
  "luminance": 0.16552
}

Semantic roles & 50–950 ramp

primary
#516CC6
secondary
#D2C7A1
accent
#BA4EDA
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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