#516181#516181

#516181 is a mid, muted blue. Relative luminance 0.119; OKLCH L 49.2% C 0.055 H 263.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#516181
RGBrgb(81, 97, 129)
HSLhsl(220, 23%, 41%)
HSVhsv(220, 37%, 51%)
CMYKcmyk(37.2%, 24.8%, 0%, 49.4%)
CIE-LABlab(41.03, 2.40, -19.82)
CIE-LCHlch(41.03, 19.96, 276.92°)
OKLaboklab(49.24% -0.0059 -0.0549)
OKLCHoklch(49.24% 0.055 263.9)
XYZxyz(11.6293, 11.8832, 22.4456)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516181 #817151
analogous
#517981 #516181 #595181
triadic
#516181 #815161 #618151
tetradic
#516181 #815179 #817151 #518159
square
#516181 #815179 #817151 #518159
split-complementary
#516181 #815951 #798151
monochromatic
#222836 #39455B #516181 #6C7FA3 #929FBA

Accessibility & contrast

On white

6.22
#516181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#516181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516181
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516181#FFFFFF#000000##FFFFFF
##5161811.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566382
Deuteranopia (green-blind)
#515F80
Tritanopia (blue-blind)
#42686C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #516181;
/* rgb */ color: rgb(81, 97, 129);
/* oklch */ color: oklch(49.2% 0.055 263.9);
Tailwind
colors: {
  custom: {
    50: '#838da5',
    500: '#516181',
    950: '#000000',
  },
}
SCSS
$custom: #516181;
$custom-light: #838da5;
$custom-dark: #000000;
JSON
{
  "hex": "#516181",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 129
  },
  "hsl": {
    "h": 220,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49235,
    "c": 0.05525,
    "h": 263.9
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#516181
secondary
#A89C86
accent
#A268BF
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C0F
muted
#7C7D7F

Preview Lab

Preview with #516181

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

Preview Lab → · Contrast checker → · Palette generator →

#516181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva