#516695#516695

#516695 is a mid, moderate blue. Relative luminance 0.134; OKLCH L 51.4% C 0.079 H 265.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#516695
RGBrgb(81, 102, 149)
HSLhsl(221, 30%, 45%)
HSVhsv(221, 46%, 58%)
CMYKcmyk(45.6%, 31.5%, 0%, 41.6%)
CIE-LABlab(43.39, 5.32, -28.18)
CIE-LCHlch(43.39, 28.68, 280.68°)
OKLaboklab(51.37% -0.0065 -0.0789)
OKLCHoklch(51.37% 0.079 265.3)
XYZxyz(13.5678, 13.4212, 30.3036)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516695 #958051
analogous
#518895 #516695 #5E5195
triadic
#516695 #955166 #669551
tetradic
#516695 #955188 #958051 #51955E
square
#516695 #955188 #958051 #51955E
split-complementary
#516695 #955E51 #889551
monochromatic
#263046 #3B4B6D #516695 #7185B2 #99A7C7

Accessibility & contrast

On white

5.70
#516695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#516695 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516695
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516695#FFFFFF#000000##FFFFFF
##5166951.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556A97
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#387077
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516695;
/* rgb */ color: rgb(81, 102, 149);
/* oklch */ color: oklch(51.4% 0.079 265.3);
Tailwind
colors: {
  custom: {
    50: '#8591b4',
    500: '#516695',
    950: '#000000',
  },
}
SCSS
$custom: #516695;
$custom-light: #8591b4;
$custom-dark: #000000;
JSON
{
  "hex": "#516695",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 149
  },
  "hsl": {
    "h": 221.471,
    "s": 29.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.0792,
    "h": 265.3
  },
  "luminance": 0.13422
}

Semantic roles & 50–950 ramp

primary
#516695
secondary
#B4A88D
accent
#A762C6
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516695

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

Preview Lab → · Contrast checker → · Palette generator →

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