#516CA8#516CA8

#516CA8 is a mid, moderate blue. Relative luminance 0.153; OKLCH L 53.7% C 0.100 H 264.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#516CA8
RGBrgb(81, 108, 168)
HSLhsl(221, 35%, 49%)
HSVhsv(221, 52%, 66%)
CMYKcmyk(51.8%, 35.7%, 0%, 34.1%)
CIE-LABlab(46.04, 7.62, -35.26)
CIE-LCHlch(46.04, 36.07, 282.19°)
OKLaboklab(53.74% -0.0089 -0.0994)
OKLCHoklch(53.74% 0.1 264.9)
XYZxyz(15.8214, 15.3005, 39.1578)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CA8 #A88D51
analogous
#5198A8 #516CA8 #6251A8
triadic
#516CA8 #A8516C #6CA851
tetradic
#516CA8 #A85198 #A88D51 #51A862
square
#516CA8 #A85198 #A88D51 #51A862
split-complementary
#516CA8 #A86251 #98A851
monochromatic
#293755 #3D517F #516CA8 #788EBE #A1B1D2

Accessibility & contrast

On white

5.17
#516CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#516CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CA8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CA8#FFFFFF#000000##FFFFFF
##516CA81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5571AA
Deuteranopia (green-blind)
#4B69A7
Tritanopia (blue-blind)
#297982
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516ca8;
/* rgb */ color: rgb(81, 108, 168);
/* oklch */ color: oklch(53.7% 0.100 264.9);
Tailwind
colors: {
  custom: {
    50: '#8795c2',
    500: '#516ca8',
    950: '#000000',
  },
}
SCSS
$custom: #516ca8;
$custom-light: #8795c2;
$custom-dark: #000000;
JSON
{
  "hex": "#516ca8",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 168
  },
  "hsl": {
    "h": 221.379,
    "s": 34.94,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.09985,
    "h": 264.9
  },
  "luminance": 0.15302
}

Semantic roles & 50–950 ramp

primary
#516CA8
secondary
#BFB296
accent
#A95DCB
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516CA8

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

Preview Lab → · Contrast checker → · Palette generator →

#516CA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva