#516FB4#516FB4

#516FB4 is a mid, moderate blue. Relative luminance 0.164; OKLCH L 55.1% C 0.114 H 265.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#516FB4
RGBrgb(81, 111, 180)
HSLhsl(222, 40%, 51%)
HSVhsv(222, 55%, 71%)
CMYKcmyk(55%, 38.3%, 0%, 29.4%)
CIE-LABlab(47.51, 9.68, -39.94)
CIE-LCHlch(47.51, 41.10, 283.62°)
OKLaboklab(55.07% -0.0096 -0.1131)
OKLCHoklch(55.07% 0.114 265.1)
XYZxyz(17.3132, 16.4122, 45.4267)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FB4 #B49651
analogous
#51A0B4 #516FB4 #6451B4
triadic
#516FB4 #B4516F #6FB451
tetradic
#516FB4 #B451A0 #B49651 #51B464
square
#516FB4 #B451A0 #B49651 #51B464
split-complementary
#516FB4 #B46451 #A0B451
monochromatic
#2A3A61 #3C548C #516FB4 #7C92C6 #A7B6D9

Accessibility & contrast

On white

4.90
#516FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#516FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FB4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FB4#FFFFFF#000000##FFFFFF
##516FB41.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5376B7
Deuteranopia (green-blind)
#476DB3
Tritanopia (blue-blind)
#197E89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516fb4;
/* rgb */ color: rgb(81, 111, 180);
/* oklch */ color: oklch(55.1% 0.114 265.1);
Tailwind
colors: {
  custom: {
    50: '#8998cb',
    500: '#516fb4',
    950: '#000000',
  },
}
SCSS
$custom: #516fb4;
$custom-light: #8998cb;
$custom-dark: #000000;
JSON
{
  "hex": "#516fb4",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 180
  },
  "hsl": {
    "h": 221.818,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55074,
    "c": 0.11351,
    "h": 265.1
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#516FB4
secondary
#C6B99B
accent
#AB58D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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