#516FC6#516FC6

#516FC6 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.2% C 0.139 H 267.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#516FC6
RGBrgb(81, 111, 198)
HSLhsl(225, 51%, 55%)
HSVhsv(225, 59%, 78%)
CMYKcmyk(59.1%, 43.9%, 0%, 22.4%)
CIE-LABlab(48.50, 15.69, -48.76)
CIE-LCHlch(48.50, 51.22, 287.83°)
OKLaboklab(56.16% -0.0061 -0.1389)
OKLCHoklch(56.16% 0.139 267.5)
XYZxyz(19.2674, 17.1939, 55.7185)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FC6 #C6A851
analogous
#51AAC6 #516FC6 #6D51C6
triadic
#516FC6 #C6516F #6FC651
tetradic
#516FC6 #C651AA #C6A851 #51C66D
square
#516FC6 #C651AA #C6A851 #51C66D
split-complementary
#516FC6 #C66D51 #AAC651
monochromatic
#273B76 #3652A4 #516FC6 #7F95D5 #ADBBE4

Accessibility & contrast

On white

4.73
#516FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#516FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FC6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FC6#FFFFFF#000000##FFFFFF
##516FC61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4879C9
Deuteranopia (green-blind)
#376EC4
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516fc6;
/* rgb */ color: rgb(81, 111, 198);
/* oklch */ color: oklch(56.2% 0.139 267.5);
Tailwind
colors: {
  custom: {
    50: '#8b97d8',
    500: '#516fc6',
    950: '#000000',
  },
}
SCSS
$custom: #516fc6;
$custom-light: #8b97d8;
$custom-dark: #000000;
JSON
{
  "hex": "#516fc6",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 198
  },
  "hsl": {
    "h": 224.615,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56161,
    "c": 0.13905,
    "h": 267.5
  },
  "luminance": 0.17195
}

Semantic roles & 50–950 ramp

primary
#516FC6
secondary
#D2C5A1
accent
#B64EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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