#516196#516196

#516196 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.3% C 0.087 H 270.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#516196
RGBrgb(81, 97, 150)
HSLhsl(226, 30%, 45%)
HSVhsv(226, 46%, 59%)
CMYKcmyk(46%, 35.3%, 0%, 41.2%)
CIE-LABlab(42.00, 8.74, -30.96)
CIE-LCHlch(42.00, 32.17, 285.77°)
OKLaboklab(50.31% 0.0004 -0.087)
OKLCHoklch(50.31% 0.087 270.3)
XYZxyz(13.1713, 12.5000, 30.5670)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516196 #968651
analogous
#518396 #516196 #635196
triadic
#516196 #965161 #619651
tetradic
#516196 #965183 #968651 #519663
square
#516196 #965183 #968651 #519663
split-complementary
#516196 #966351 #839651
monochromatic
#262E47 #3C476E #516196 #7281B3 #99A4C8

Accessibility & contrast

On white

6.00
#516196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#516196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516196
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516196#FFFFFF#000000##FFFFFF
##5161961.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6698
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#386C74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516196;
/* rgb */ color: rgb(81, 97, 150);
/* oklch */ color: oklch(50.3% 0.087 270.3);
Tailwind
colors: {
  custom: {
    50: '#858db5',
    500: '#516196',
    950: '#000000',
  },
}
SCSS
$custom: #516196;
$custom-light: #858db5;
$custom-dark: #000000;
JSON
{
  "hex": "#516196",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 150
  },
  "hsl": {
    "h": 226.087,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.087,
    "h": 270.3
  },
  "luminance": 0.12501
}

Semantic roles & 50–950 ramp

primary
#516196
secondary
#B5AC8E
accent
#AF62C6
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516196

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

Preview Lab → · Contrast checker → · Palette generator →

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