#516FB6#516FB6

#516FB6 is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.2% C 0.116 H 265.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#516FB6
RGBrgb(81, 111, 182)
HSLhsl(222, 41%, 52%)
HSVhsv(222, 55%, 71%)
CMYKcmyk(55.5%, 39%, 0%, 28.6%)
CIE-LABlab(47.62, 10.34, -40.94)
CIE-LCHlch(47.62, 42.22, 284.17°)
OKLaboklab(55.19% -0.0092 -0.116)
OKLCHoklch(55.19% 0.116 265.5)
XYZxyz(17.5184, 16.4943, 46.5075)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FB6 #B69851
analogous
#51A2B6 #516FB6 #6651B6
triadic
#516FB6 #B6516F #6FB651
tetradic
#516FB6 #B651A2 #B69851 #51B666
square
#516FB6 #B651A2 #B69851 #51B666
split-complementary
#516FB6 #B66651 #A2B651
monochromatic
#2A3B63 #3C548E #516FB6 #7C93C8 #A7B6DA

Accessibility & contrast

On white

4.88
#516FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#516FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FB6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FB6#FFFFFF#000000##FFFFFF
##516FB61.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5276B9
Deuteranopia (green-blind)
#466DB4
Tritanopia (blue-blind)
#157F8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516fb6;
/* rgb */ color: rgb(81, 111, 182);
/* oklch */ color: oklch(55.2% 0.116 265.5);
Tailwind
colors: {
  custom: {
    50: '#8998cc',
    500: '#516fb6',
    950: '#000000',
  },
}
SCSS
$custom: #516fb6;
$custom-light: #8998cc;
$custom-dark: #000000;
JSON
{
  "hex": "#516fb6",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 182
  },
  "hsl": {
    "h": 222.178,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5519,
    "c": 0.11636,
    "h": 265.5
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#516FB6
secondary
#C8BA9B
accent
#AD57D1
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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