#516699#516699

#516699 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.6% C 0.085 H 266.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#516699
RGBrgb(81, 102, 153)
HSLhsl(223, 31%, 46%)
HSVhsv(223, 47%, 60%)
CMYKcmyk(47.1%, 33.3%, 0%, 40%)
CIE-LABlab(43.58, 6.56, -30.26)
CIE-LCHlch(43.58, 30.97, 282.23°)
OKLaboklab(51.58% -0.0053 -0.085)
OKLCHoklch(51.58% 0.085 266.4)
XYZxyz(13.8926, 13.5511, 32.0144)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516699 #998451
analogous
#518A99 #516699 #605199
triadic
#516699 #995166 #669951
tetradic
#516699 #99518A #998451 #519960
square
#516699 #99518A #998451 #519960
split-complementary
#516699 #996051 #8A9951
monochromatic
#273149 #3C4B71 #516699 #7386B5 #9BA8CA

Accessibility & contrast

On white

5.66
#516699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#516699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516699
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516699#FFFFFF#000000##FFFFFF
##5166991.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A9B
Deuteranopia (green-blind)
#4C6498
Tritanopia (blue-blind)
#357178
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #516699;
/* rgb */ color: rgb(81, 102, 153);
/* oklch */ color: oklch(51.6% 0.085 266.4);
Tailwind
colors: {
  custom: {
    50: '#8691b7',
    500: '#516699',
    950: '#000000',
  },
}
SCSS
$custom: #516699;
$custom-light: #8691b7;
$custom-dark: #000000;
JSON
{
  "hex": "#516699",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 153
  },
  "hsl": {
    "h": 222.5,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.08514,
    "h": 266.4
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#516699
secondary
#B7AB8F
accent
#A961C7
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516699

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

Preview Lab → · Contrast checker → · Palette generator →

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