#516DC6#516DC6

#516DC6 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.7% C 0.142 H 268.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#516DC6
RGBrgb(81, 109, 198)
HSLhsl(226, 51%, 55%)
HSVhsv(226, 59%, 78%)
CMYKcmyk(59.1%, 44.9%, 0%, 22.4%)
CIE-LABlab(47.96, 16.93, -49.63)
CIE-LCHlch(47.96, 52.44, 288.84°)
OKLaboklab(55.74% -0.0039 -0.1415)
OKLCHoklch(55.74% 0.142 268.4)
XYZxyz(19.0516, 16.7623, 55.6466)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DC6 #C6AA51
analogous
#51A8C6 #516DC6 #7051C6
triadic
#516DC6 #C6516D #6DC651
tetradic
#516DC6 #C651A8 #C6AA51 #51C670
square
#516DC6 #C651A8 #C6AA51 #51C670
split-complementary
#516DC6 #C67051 #A8C651
monochromatic
#273A76 #3650A4 #516DC6 #7F94D5 #ADBAE4

Accessibility & contrast

On white

4.82
#516DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#516DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DC6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DC6#FFFFFF#000000##FFFFFF
##516DC61.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4477C9
Deuteranopia (green-blind)
#336DC4
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516dc6;
/* rgb */ color: rgb(81, 109, 198);
/* oklch */ color: oklch(55.7% 0.142 268.4);
Tailwind
colors: {
  custom: {
    50: '#8b96d8',
    500: '#516dc6',
    950: '#000000',
  },
}
SCSS
$custom: #516dc6;
$custom-light: #8b96d8;
$custom-dark: #000000;
JSON
{
  "hex": "#516dc6",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 198
  },
  "hsl": {
    "h": 225.641,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.14155,
    "h": 268.4
  },
  "luminance": 0.16764
}

Semantic roles & 50–950 ramp

primary
#516DC6
secondary
#D2C6A1
accent
#B94EDA
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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