#516397#516397

#516397 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 50.8% C 0.086 H 268.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#516397
RGBrgb(81, 99, 151)
HSLhsl(225, 30%, 45%)
HSVhsv(225, 46%, 59%)
CMYKcmyk(46.4%, 34.4%, 0%, 40.8%)
CIE-LABlab(42.62, 7.80, -30.58)
CIE-LCHlch(42.62, 31.56, 284.32°)
OKLaboklab(50.81% -0.0019 -0.0859)
OKLCHoklch(50.81% 0.086 268.7)
XYZxyz(13.4393, 12.9066, 31.0552)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516397 #978551
analogous
#518697 #516397 #625197
triadic
#516397 #975163 #639751
tetradic
#516397 #975186 #978551 #519762
square
#516397 #975186 #978551 #519762
split-complementary
#516397 #976251 #869751
monochromatic
#262F47 #3C496F #516397 #7283B3 #9AA6C9

Accessibility & contrast

On white

5.86
#516397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#516397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516397
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516397#FFFFFF#000000##FFFFFF
##5163971.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506899
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#376E76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516397;
/* rgb */ color: rgb(81, 99, 151);
/* oklch */ color: oklch(50.8% 0.086 268.7);
Tailwind
colors: {
  custom: {
    50: '#858fb6',
    500: '#516397',
    950: '#000000',
  },
}
SCSS
$custom: #516397;
$custom-light: #858fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#516397",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 224.571,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50807,
    "c": 0.08591,
    "h": 268.7
  },
  "luminance": 0.12907
}

Semantic roles & 50–950 ramp

primary
#516397
secondary
#B6AB8E
accent
#AC61C6
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516397

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

Preview Lab → · Contrast checker → · Palette generator →

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