#516CAF#516CAF

#516CAF is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.1% C 0.110 H 266.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#516CAF
RGBrgb(81, 108, 175)
HSLhsl(223, 37%, 50%)
HSVhsv(223, 54%, 69%)
CMYKcmyk(53.7%, 38.3%, 0%, 31.4%)
CIE-LABlab(46.40, 9.90, -38.78)
CIE-LCHlch(46.40, 40.03, 284.31°)
OKLaboklab(54.13% -0.0073 -0.1097)
OKLCHoklch(54.13% 0.11 266.2)
XYZxyz(16.4912, 15.5684, 42.6851)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CAF #AF9451
analogous
#519BAF #516CAF #6551AF
triadic
#516CAF #AF516C #6CAF51
tetradic
#516CAF #AF519B #AF9451 #51AF65
square
#516CAF #AF519B #AF9451 #51AF65
split-complementary
#516CAF #AF6551 #9BAF51
monochromatic
#2A385C #3D5285 #516CAF #7B8FC2 #A5B3D6

Accessibility & contrast

On white

5.10
#516CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#516CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CAF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CAF#FFFFFF#000000##FFFFFF
##516CAF1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5173B2
Deuteranopia (green-blind)
#466AAE
Tritanopia (blue-blind)
#217B85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516caf;
/* rgb */ color: rgb(81, 108, 175);
/* oklch */ color: oklch(54.1% 0.110 266.2);
Tailwind
colors: {
  custom: {
    50: '#8895c7',
    500: '#516caf',
    950: '#000000',
  },
}
SCSS
$custom: #516caf;
$custom-light: #8895c7;
$custom-dark: #000000;
JSON
{
  "hex": "#516caf",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 175
  },
  "hsl": {
    "h": 222.766,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.10997,
    "h": 266.2
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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