#516FB1#516FB1

#516FB1 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 54.9% C 0.109 H 264.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#516FB1
RGBrgb(81, 111, 177)
HSLhsl(221, 38%, 51%)
HSVhsv(221, 54%, 69%)
CMYKcmyk(54.2%, 37.3%, 0%, 30.6%)
CIE-LABlab(47.35, 8.69, -38.45)
CIE-LCHlch(47.35, 39.42, 282.74°)
OKLaboklab(54.9% -0.0103 -0.1087)
OKLCHoklch(54.9% 0.109 264.6)
XYZxyz(17.0109, 16.2913, 43.8346)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FB1 #B19351
analogous
#519FB1 #516FB1 #6351B1
triadic
#516FB1 #B1516F #6FB151
tetradic
#516FB1 #B1519F #B19351 #51B163
square
#516FB1 #B1519F #B19351 #51B163
split-complementary
#516FB1 #B16351 #9FB151
monochromatic
#2A3A5E #3D5488 #516FB1 #7B92C4 #A6B5D7

Accessibility & contrast

On white

4.93
#516FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#516FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FB1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FB1#FFFFFF#000000##FFFFFF
##516FB11.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5575B4
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#1D7D87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516fb1;
/* rgb */ color: rgb(81, 111, 177);
/* oklch */ color: oklch(54.9% 0.109 264.6);
Tailwind
colors: {
  custom: {
    50: '#8898c8',
    500: '#516fb1',
    950: '#000000',
  },
}
SCSS
$custom: #516fb1;
$custom-light: #8898c8;
$custom-dark: #000000;
JSON
{
  "hex": "#516fb1",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 177
  },
  "hsl": {
    "h": 221.25,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.10921,
    "h": 264.6
  },
  "luminance": 0.16293
}

Semantic roles & 50–950 ramp

primary
#516FB1
secondary
#C4B79A
accent
#AA5ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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