#516CB1#516CB1

#516CB1 is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.2% C 0.113 H 266.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#516CB1
RGBrgb(81, 108, 177)
HSLhsl(223, 38%, 51%)
HSVhsv(223, 54%, 69%)
CMYKcmyk(54.2%, 39%, 0%, 30.6%)
CIE-LABlab(46.51, 10.55, -39.78)
CIE-LCHlch(46.51, 41.16, 284.85°)
OKLaboklab(54.25% -0.0068 -0.1126)
OKLCHoklch(54.25% 0.113 266.5)
XYZxyz(16.6891, 15.6476, 43.7273)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CB1 #B19651
analogous
#519CB1 #516CB1 #6651B1
triadic
#516CB1 #B1516C #6CB151
tetradic
#516CB1 #B1519C #B19651 #51B166
square
#516CB1 #B1519C #B19651 #51B166
split-complementary
#516CB1 #B16651 #9CB151
monochromatic
#2A385E #3D5288 #516CB1 #7B90C4 #A6B3D7

Accessibility & contrast

On white

5.08
#516CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#516CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CB1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CB1#FFFFFF#000000##FFFFFF
##516CB11.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B4
Deuteranopia (green-blind)
#456AB0
Tritanopia (blue-blind)
#1E7B86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516cb1;
/* rgb */ color: rgb(81, 108, 177);
/* oklch */ color: oklch(54.2% 0.113 266.5);
Tailwind
colors: {
  custom: {
    50: '#8895c8',
    500: '#516cb1',
    950: '#000000',
  },
}
SCSS
$custom: #516cb1;
$custom-light: #8895c8;
$custom-dark: #000000;
JSON
{
  "hex": "#516cb1",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 177
  },
  "hsl": {
    "h": 223.125,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.11286,
    "h": 266.5
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#516CB1
secondary
#C4B89A
accent
#AD5ACE
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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