#516BAF#516BAF

#516BAF is a mid, moderate blue. Relative luminance 0.154; OKLCH L 53.9% C 0.111 H 266.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#516BAF
RGBrgb(81, 107, 175)
HSLhsl(223, 37%, 50%)
HSVhsv(223, 54%, 69%)
CMYKcmyk(53.7%, 38.9%, 0%, 31.4%)
CIE-LABlab(46.12, 10.52, -39.23)
CIE-LCHlch(46.12, 40.61, 285.01°)
OKLaboklab(53.92% -0.0061 -0.111)
OKLCHoklch(53.92% 0.111 266.9)
XYZxyz(16.3863, 15.3587, 42.6502)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BAF #AF9551
analogous
#519AAF #516BAF #6651AF
triadic
#516BAF #AF516B #6BAF51
tetradic
#516BAF #AF519A #AF9551 #51AF66
square
#516BAF #AF519A #AF9551 #51AF66
split-complementary
#516BAF #AF6651 #9AAF51
monochromatic
#2A385C #3D5185 #516BAF #7B8FC2 #A5B2D6

Accessibility & contrast

On white

5.16
#516BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#516BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BAF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BAF#FFFFFF#000000##FFFFFF
##516BAF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#4569AE
Tritanopia (blue-blind)
#217A84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516baf;
/* rgb */ color: rgb(81, 107, 175);
/* oklch */ color: oklch(53.9% 0.111 266.9);
Tailwind
colors: {
  custom: {
    50: '#8895c7',
    500: '#516baf',
    950: '#000000',
  },
}
SCSS
$custom: #516baf;
$custom-light: #8895c7;
$custom-dark: #000000;
JSON
{
  "hex": "#516baf",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 175
  },
  "hsl": {
    "h": 223.404,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.11121,
    "h": 266.9
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

primary
#516BAF
secondary
#C3B799
accent
#AD5BCD
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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