#516182#516182

#516182 is a mid, muted blue. Relative luminance 0.119; OKLCH L 49.3% C 0.057 H 264.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#516182
RGBrgb(81, 97, 130)
HSLhsl(220, 23%, 41%)
HSVhsv(220, 38%, 51%)
CMYKcmyk(37.7%, 25.4%, 0%, 49%)
CIE-LABlab(41.07, 2.69, -20.36)
CIE-LCHlch(41.07, 20.54, 277.54°)
OKLaboklab(49.28% -0.0056 -0.0565)
OKLCHoklch(49.28% 0.057 264.4)
XYZxyz(11.6961, 11.9099, 22.7973)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516182 #827251
analogous
#517A82 #516182 #5A5182
triadic
#516182 #825161 #618251
tetradic
#516182 #82517A #827251 #51825A
square
#516182 #82517A #827251 #51825A
split-complementary
#516182 #825A51 #7A8251
monochromatic
#222937 #3A455C #516182 #6C7FA4 #92A0BB

Accessibility & contrast

On white

6.21
#516182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516182
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516182#FFFFFF#000000##FFFFFF
##5161821.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #516182;
/* rgb */ color: rgb(81, 97, 130);
/* oklch */ color: oklch(49.3% 0.057 264.4);
Tailwind
colors: {
  custom: {
    50: '#838da6',
    500: '#516182',
    950: '#000000',
  },
}
SCSS
$custom: #516182;
$custom-light: #838da6;
$custom-dark: #000000;
JSON
{
  "hex": "#516182",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 130
  },
  "hsl": {
    "h": 220.408,
    "s": 23.223,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.05674,
    "h": 264.4
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#516182
secondary
#A89D87
accent
#A368C0
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C0F
muted
#7C7D7F

Preview Lab

Preview with #516182

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

Preview Lab → · Contrast checker → · Palette generator →

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