#516698#516698

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

Color values

HEX#516698
RGBrgb(81, 102, 152)
HSLhsl(222, 30%, 46%)
HSVhsv(222, 47%, 60%)
CMYKcmyk(46.7%, 32.9%, 0%, 40.4%)
CIE-LABlab(43.53, 6.25, -29.74)
CIE-LCHlch(43.53, 30.39, 281.86°)
OKLaboklab(51.53% -0.0056 -0.0835)
OKLCHoklch(51.53% 0.084 266.2)
XYZxyz(13.8104, 13.5183, 31.5812)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516698 #988351
analogous
#518998 #516698 #605198
triadic
#516698 #985166 #669851
tetradic
#516698 #985189 #988351 #519860
square
#516698 #985189 #988351 #519860
split-complementary
#516698 #986051 #899851
monochromatic
#263048 #3C4B70 #516698 #7286B4 #9AA8C9

Accessibility & contrast

On white

5.67
#516698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516698
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516698#FFFFFF#000000##FFFFFF
##5166981.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A9A
Deuteranopia (green-blind)
#4C6497
Tritanopia (blue-blind)
#367078
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #516698;
/* rgb */ color: rgb(81, 102, 152);
/* oklch */ color: oklch(51.5% 0.084 266.2);
Tailwind
colors: {
  custom: {
    50: '#8591b6',
    500: '#516698',
    950: '#000000',
  },
}
SCSS
$custom: #516698;
$custom-light: #8591b6;
$custom-dark: #000000;
JSON
{
  "hex": "#516698",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 152
  },
  "hsl": {
    "h": 222.254,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.08366,
    "h": 266.2
  },
  "luminance": 0.13519
}

Semantic roles & 50–950 ramp

primary
#516698
secondary
#B6AA8F
accent
#A961C7
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516698

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

Preview Lab → · Contrast checker → · Palette generator →

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