#516185#516185

#516185 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.4% C 0.061 H 265.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#516185
RGBrgb(81, 97, 133)
HSLhsl(222, 24%, 42%)
HSVhsv(222, 39%, 52%)
CMYKcmyk(39.1%, 27.1%, 0%, 47.8%)
CIE-LABlab(41.20, 3.57, -21.97)
CIE-LCHlch(41.20, 22.26, 279.24°)
OKLaboklab(49.43% -0.0046 -0.0611)
OKLCHoklch(49.43% 0.061 265.7)
XYZxyz(11.9004, 11.9916, 23.8733)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516185 #857551
analogous
#517B85 #516185 #5B5185
triadic
#516185 #855161 #618551
tetradic
#516185 #85517B #857551 #51855B
square
#516185 #85517B #857551 #51855B
split-complementary
#516185 #855B51 #7B8551
monochromatic
#232A39 #3A455F #516185 #6D7FA6 #93A0BD

Accessibility & contrast

On white

6.18
#516185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#516185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516185
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516185#FFFFFF#000000##FFFFFF
##5161851.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556487
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#41686D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #516185;
/* rgb */ color: rgb(81, 97, 133);
/* oklch */ color: oklch(49.4% 0.061 265.7);
Tailwind
colors: {
  custom: {
    50: '#848da8',
    500: '#516185',
    950: '#000000',
  },
}
SCSS
$custom: #516185;
$custom-light: #848da8;
$custom-dark: #000000;
JSON
{
  "hex": "#516185",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 133
  },
  "hsl": {
    "h": 221.538,
    "s": 24.299,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49428,
    "c": 0.06126,
    "h": 265.7
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#516185
secondary
#AAA088
accent
#A567C1
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C0F
muted
#7C7D7F

Preview Lab

Preview with #516185

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

Preview Lab → · Contrast checker → · Palette generator →

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