#516595#516595

#516595 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.1% C 0.080 H 266.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#516595
RGBrgb(81, 101, 149)
HSLhsl(222, 30%, 45%)
HSVhsv(222, 46%, 58%)
CMYKcmyk(45.6%, 32.2%, 0%, 41.6%)
CIE-LABlab(43.10, 5.94, -28.63)
CIE-LCHlch(43.10, 29.24, 281.71°)
OKLaboklab(51.15% -0.0051 -0.0803)
OKLCHoklch(51.15% 0.08 266.3)
XYZxyz(13.4701, 13.2258, 30.2710)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516595 #958151
analogous
#518795 #516595 #5F5195
triadic
#516595 #955165 #659551
tetradic
#516595 #955187 #958151 #51955F
square
#516595 #955187 #958151 #51955F
split-complementary
#516595 #955F51 #879551
monochromatic
#262F46 #3B4A6D #516595 #7184B2 #99A7C7

Accessibility & contrast

On white

5.76
#516595 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516595
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516595#FFFFFF#000000##FFFFFF
##5165951.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546997
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#386F76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516595;
/* rgb */ color: rgb(81, 101, 149);
/* oklch */ color: oklch(51.1% 0.080 266.3);
Tailwind
colors: {
  custom: {
    50: '#8590b4',
    500: '#516595',
    950: '#000000',
  },
}
SCSS
$custom: #516595;
$custom-light: #8590b4;
$custom-dark: #000000;
JSON
{
  "hex": "#516595",
  "rgb": {
    "r": 81,
    "g": 101,
    "b": 149
  },
  "hsl": {
    "h": 222.353,
    "s": 29.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.08042,
    "h": 266.3
  },
  "luminance": 0.13227
}

Semantic roles & 50–950 ramp

primary
#516595
secondary
#B4A98D
accent
#A862C6
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516595

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

Preview Lab → · Contrast checker → · Palette generator →

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