#516C8D#516C8D

#516C8D is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.4% C 0.061 H 253.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#516C8D
RGBrgb(81, 108, 141)
HSLhsl(213, 27%, 44%)
HSVhsv(213, 43%, 55%)
CMYKcmyk(42.6%, 23.4%, 0%, 44.7%)
CIE-LABlab(44.80, -0.78, -21.23)
CIE-LCHlch(44.80, 21.24, 267.90°)
OKLaboklab(52.35% -0.0171 -0.059)
OKLCHoklch(52.35% 0.061 253.8)
XYZxyz(13.5621, 14.3968, 27.2584)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C8D #8D7251
analogous
#518A8D #516C8D #54518D
triadic
#516C8D #8D516C #6C8D51
tetradic
#516C8D #8D518A #8D7251 #518D54
square
#516C8D #8D518A #8D7251 #518D54
split-complementary
#516C8D #8D5451 #8A8D51
monochromatic
#24303F #3B4E66 #516C8D #6F8BAC #96AAC3

Accessibility & contrast

On white

5.41
#516C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#516C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C8D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C8D#FFFFFF#000000##FFFFFF
##516C8D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606D8F
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#3B7377
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #516c8d;
/* rgb */ color: rgb(81, 108, 141);
/* oklch */ color: oklch(52.4% 0.061 253.8);
Tailwind
colors: {
  custom: {
    50: '#8496ae',
    500: '#516c8d',
    950: '#000000',
  },
}
SCSS
$custom: #516c8d;
$custom-light: #8496ae;
$custom-dark: #000000;
JSON
{
  "hex": "#516c8d",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 141
  },
  "hsl": {
    "h": 213,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.06139,
    "h": 253.8
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#516C8D
secondary
#AF9F8A
accent
#9964C3
background
#F8F9FA
surface
#EFF1F4
border
#CACBCE
text
#0B0D10
muted
#7C7E7F

Preview Lab

Preview with #516C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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