#516F7D#516F7D

#516F7D is a mid, muted cyan. Relative luminance 0.146; OKLCH L 52.4% C 0.041 H 228.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#516F7D
RGBrgb(81, 111, 125)
HSLhsl(199, 21%, 40%)
HSVhsv(199, 35%, 49%)
CMYKcmyk(35.2%, 11.2%, 0%, 51%)
CIE-LABlab(45.08, -7.13, -11.23)
CIE-LCHlch(45.08, 13.30, 237.60°)
OKLaboklab(52.37% -0.0273 -0.0308)
OKLCHoklch(52.37% 0.041 228.4)
XYZxyz(12.7783, 14.5982, 21.5425)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F7D #7D5F51
analogous
#517D75 #516F7D #51597D
triadic
#516F7D #7D516F #6F7D51
tetradic
#516F7D #75517D #7D5F51 #597D51
square
#516F7D #75517D #7D5F51 #597D51
split-complementary
#516F7D #7D5159 #7D7551
monochromatic
#212D33 #394E58 #516F7D #6C8FA0 #91ABB8

Accessibility & contrast

On white

5.36
#516F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#516F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F7D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F7D#FFFFFF#000000##FFFFFF
##516F7D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686E7E
Deuteranopia (green-blind)
#61687D
Tritanopia (blue-blind)
#427373
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #516f7d;
/* rgb */ color: rgb(81, 111, 125);
/* oklch */ color: oklch(52.4% 0.041 228.4);
Tailwind
colors: {
  custom: {
    50: '#8398a2',
    500: '#516f7d',
    950: '#000000',
  },
}
SCSS
$custom: #516f7d;
$custom-light: #8398a2;
$custom-dark: #000000;
JSON
{
  "hex": "#516f7d",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 125
  },
  "hsl": {
    "h": 199.091,
    "s": 21.359,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52371,
    "c": 0.04118,
    "h": 228.4
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#516F7D
secondary
#A58F85
accent
#856ABE
background
#F8F9FA
surface
#EFF2F3
border
#CACCCD
text
#0B0D0F
muted
#7C7E7F

Preview Lab

Preview with #516F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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