#516596#516596

#516596 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.2% C 0.082 H 266.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#516596
RGBrgb(81, 101, 150)
HSLhsl(223, 30%, 45%)
HSVhsv(223, 46%, 59%)
CMYKcmyk(46%, 32.7%, 0%, 41.2%)
CIE-LABlab(43.15, 6.25, -29.16)
CIE-LCHlch(43.15, 29.82, 282.09°)
OKLaboklab(51.2% -0.0049 -0.0818)
OKLCHoklch(51.2% 0.082 266.6)
XYZxyz(13.5503, 13.2579, 30.6933)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516596 #968251
analogous
#518796 #516596 #605196
triadic
#516596 #965165 #659651
tetradic
#516596 #965187 #968251 #519660
square
#516596 #965187 #968251 #519660
split-complementary
#516596 #966051 #879651
monochromatic
#262F47 #3C4A6E #516596 #7284B3 #99A7C8

Accessibility & contrast

On white

5.75
#516596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#516596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516596
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516596#FFFFFF#000000##FFFFFF
##5165961.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536998
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#376F77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516596;
/* rgb */ color: rgb(81, 101, 150);
/* oklch */ color: oklch(51.2% 0.082 266.6);
Tailwind
colors: {
  custom: {
    50: '#8590b5',
    500: '#516596',
    950: '#000000',
  },
}
SCSS
$custom: #516596;
$custom-light: #8590b5;
$custom-dark: #000000;
JSON
{
  "hex": "#516596",
  "rgb": {
    "r": 81,
    "g": 101,
    "b": 150
  },
  "hsl": {
    "h": 222.609,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.512,
    "c": 0.08191,
    "h": 266.6
  },
  "luminance": 0.13259
}

Semantic roles & 50–950 ramp

primary
#516596
secondary
#B5AA8E
accent
#A962C6
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516596

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

Preview Lab → · Contrast checker → · Palette generator →

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