#516697#516697

#516697 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 51.5% C 0.082 H 265.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#516697
RGBrgb(81, 102, 151)
HSLhsl(222, 30%, 45%)
HSVhsv(222, 46%, 59%)
CMYKcmyk(46.4%, 32.5%, 0%, 40.8%)
CIE-LABlab(43.49, 5.94, -29.22)
CIE-LCHlch(43.49, 29.82, 281.48°)
OKLaboklab(51.48% -0.0059 -0.082)
OKLCHoklch(51.48% 0.082 265.9)
XYZxyz(13.7288, 13.4856, 31.1517)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516697 #978251
analogous
#518997 #516697 #5F5197
triadic
#516697 #975166 #669751
tetradic
#516697 #975189 #978251 #51975F
square
#516697 #975189 #978251 #51975F
split-complementary
#516697 #975F51 #899751
monochromatic
#263047 #3C4B6F #516697 #7286B3 #9AA8C9

Accessibility & contrast

On white

5.68
#516697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#516697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516697
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516697#FFFFFF#000000##FFFFFF
##5166971.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#377078
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #516697;
/* rgb */ color: rgb(81, 102, 151);
/* oklch */ color: oklch(51.5% 0.082 265.9);
Tailwind
colors: {
  custom: {
    50: '#8591b6',
    500: '#516697',
    950: '#000000',
  },
}
SCSS
$custom: #516697;
$custom-light: #8591b6;
$custom-dark: #000000;
JSON
{
  "hex": "#516697",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 151
  },
  "hsl": {
    "h": 222,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.08217,
    "h": 265.9
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

primary
#516697
secondary
#B6AA8E
accent
#A861C6
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516697

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

Preview Lab → · Contrast checker → · Palette generator →

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