#516EAF#516EAF

#516EAF is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.6% C 0.108 H 264.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#516EAF
RGBrgb(81, 110, 175)
HSLhsl(221, 37%, 50%)
HSVhsv(221, 54%, 69%)
CMYKcmyk(53.7%, 37.1%, 0%, 31.4%)
CIE-LABlab(46.97, 8.66, -37.89)
CIE-LCHlch(46.97, 38.87, 282.87°)
OKLaboklab(54.57% -0.0096 -0.1071)
OKLCHoklch(54.57% 0.108 264.9)
XYZxyz(16.7045, 15.9951, 42.7562)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EAF #AF9251
analogous
#519DAF #516EAF #6351AF
triadic
#516EAF #AF516E #6EAF51
tetradic
#516EAF #AF519D #AF9251 #51AF63
square
#516EAF #AF519D #AF9251 #51AF63
split-complementary
#516EAF #AF6351 #9DAF51
monochromatic
#2A395C #3D5485 #516EAF #7B91C2 #A5B4D6

Accessibility & contrast

On white

5.00
#516EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#516EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EAF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EAF#FFFFFF#000000##FFFFFF
##516EAF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#496BAE
Tritanopia (blue-blind)
#207C86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516eaf;
/* rgb */ color: rgb(81, 110, 175);
/* oklch */ color: oklch(54.6% 0.108 264.9);
Tailwind
colors: {
  custom: {
    50: '#8897c7',
    500: '#516eaf',
    950: '#000000',
  },
}
SCSS
$custom: #516eaf;
$custom-light: #8897c7;
$custom-dark: #000000;
JSON
{
  "hex": "#516eaf",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 175
  },
  "hsl": {
    "h": 221.489,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54569,
    "c": 0.10754,
    "h": 264.9
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#516EAF
secondary
#C3B699
accent
#AA5BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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