#516995#516995

#516995 is a mid, moderate blue. Relative luminance 0.140; OKLCH L 52.1% C 0.076 H 262.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#516995
RGBrgb(81, 105, 149)
HSLhsl(219, 30%, 45%)
HSVhsv(219, 46%, 58%)
CMYKcmyk(45.6%, 29.5%, 0%, 41.6%)
CIE-LABlab(44.26, 3.47, -26.82)
CIE-LCHlch(44.26, 27.04, 277.37°)
OKLaboklab(52.05% -0.0104 -0.075)
OKLCHoklch(52.05% 0.076 262.1)
XYZxyz(13.8680, 14.0216, 30.4036)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516995 #957D51
analogous
#518B95 #516995 #5B5195
triadic
#516995 #955169 #699551
tetradic
#516995 #95518B #957D51 #51955B
square
#516995 #95518B #957D51 #51955B
split-complementary
#516995 #955B51 #8B9551
monochromatic
#263146 #3B4D6D #516995 #7188B2 #99A9C7

Accessibility & contrast

On white

5.52
#516995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#516995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516995
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516995#FFFFFF#000000##FFFFFF
##5169951.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596C97
Deuteranopia (green-blind)
#516694
Tritanopia (blue-blind)
#377278
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #516995;
/* rgb */ color: rgb(81, 105, 149);
/* oklch */ color: oklch(52.1% 0.076 262.1);
Tailwind
colors: {
  custom: {
    50: '#8593b4',
    500: '#516995',
    950: '#000000',
  },
}
SCSS
$custom: #516995;
$custom-light: #8593b4;
$custom-dark: #000000;
JSON
{
  "hex": "#516995",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 149
  },
  "hsl": {
    "h": 218.824,
    "s": 29.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52052,
    "c": 0.07573,
    "h": 262.1
  },
  "luminance": 0.14022
}

Semantic roles & 50–950 ramp

primary
#516995
secondary
#B4A78D
accent
#A362C6
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516995

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

Preview Lab → · Contrast checker → · Palette generator →

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