#516DAF#516DAF

#516DAF is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.4% C 0.109 H 265.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#516DAF
RGBrgb(81, 109, 175)
HSLhsl(222, 37%, 50%)
HSVhsv(222, 54%, 69%)
CMYKcmyk(53.7%, 37.7%, 0%, 31.4%)
CIE-LABlab(46.69, 9.28, -38.34)
CIE-LCHlch(46.69, 39.44, 283.60°)
OKLaboklab(54.35% -0.0084 -0.1084)
OKLCHoklch(54.35% 0.109 265.5)
XYZxyz(16.5973, 15.7806, 42.7205)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DAF #AF9351
analogous
#519CAF #516DAF #6451AF
triadic
#516DAF #AF516D #6DAF51
tetradic
#516DAF #AF519C #AF9351 #51AF64
square
#516DAF #AF519C #AF9351 #51AF64
split-complementary
#516DAF #AF6451 #9CAF51
monochromatic
#2A395C #3D5385 #516DAF #7B90C2 #A5B3D6

Accessibility & contrast

On white

5.05
#516DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#516DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DAF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DAF#FFFFFF#000000##FFFFFF
##516DAF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5373B2
Deuteranopia (green-blind)
#486BAE
Tritanopia (blue-blind)
#217B85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516daf;
/* rgb */ color: rgb(81, 109, 175);
/* oklch */ color: oklch(54.4% 0.109 265.5);
Tailwind
colors: {
  custom: {
    50: '#8896c7',
    500: '#516daf',
    950: '#000000',
  },
}
SCSS
$custom: #516daf;
$custom-light: #8896c7;
$custom-dark: #000000;
JSON
{
  "hex": "#516daf",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 175
  },
  "hsl": {
    "h": 222.128,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.10875,
    "h": 265.5
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#516DAF
secondary
#C3B699
accent
#AB5BCD
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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