#516DA8#516DA8

#516DA8 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 54.0% C 0.099 H 264.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#516DA8
RGBrgb(81, 109, 168)
HSLhsl(221, 35%, 49%)
HSVhsv(221, 52%, 66%)
CMYKcmyk(51.8%, 35.1%, 0%, 34.1%)
CIE-LABlab(46.33, 7.00, -34.81)
CIE-LCHlch(46.33, 35.50, 281.37°)
OKLaboklab(53.96% -0.0102 -0.0981)
OKLCHoklch(53.96% 0.099 264.1)
XYZxyz(15.9275, 15.5127, 39.1931)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DA8 #A88C51
analogous
#5199A8 #516DA8 #6151A8
triadic
#516DA8 #A8516D #6DA851
tetradic
#516DA8 #A85199 #A88C51 #51A861
square
#516DA8 #A85199 #A88C51 #51A861
split-complementary
#516DA8 #A86151 #99A851
monochromatic
#293755 #3D527F #516DA8 #788FBE #A1B1D2

Accessibility & contrast

On white

5.12
#516DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#516DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DA8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DA8#FFFFFF#000000##FFFFFF
##516DA81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5672AA
Deuteranopia (green-blind)
#4C6AA7
Tritanopia (blue-blind)
#287A83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516da8;
/* rgb */ color: rgb(81, 109, 168);
/* oklch */ color: oklch(54.0% 0.099 264.1);
Tailwind
colors: {
  custom: {
    50: '#8796c2',
    500: '#516da8',
    950: '#000000',
  },
}
SCSS
$custom: #516da8;
$custom-light: #8796c2;
$custom-dark: #000000;
JSON
{
  "hex": "#516da8",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 168
  },
  "hsl": {
    "h": 220.69,
    "s": 34.94,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53957,
    "c": 0.09866,
    "h": 264.1
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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