#516AAF#516AAF

#516AAF is a mid, moderate blue. Relative luminance 0.152; OKLCH L 53.7% C 0.112 H 267.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#516AAF
RGBrgb(81, 106, 175)
HSLhsl(224, 37%, 50%)
HSVhsv(224, 54%, 69%)
CMYKcmyk(53.7%, 39.4%, 0%, 31.4%)
CIE-LABlab(45.84, 11.14, -39.67)
CIE-LCHlch(45.84, 41.21, 285.68°)
OKLaboklab(53.7% -0.0049 -0.1123)
OKLCHoklch(53.7% 0.112 267.5)
XYZxyz(16.2827, 15.1514, 42.6156)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AAF #AF9651
analogous
#5199AF #516AAF #6751AF
triadic
#516AAF #AF516A #6AAF51
tetradic
#516AAF #AF5199 #AF9651 #51AF67
square
#516AAF #AF5199 #AF9651 #51AF67
split-complementary
#516AAF #AF6751 #99AF51
monochromatic
#2A375C #3D5185 #516AAF #7B8EC2 #A5B2D6

Accessibility & contrast

On white

5.21
#516AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#516AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516AAF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AAF#FFFFFF#000000##FFFFFF
##516AAF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#4369AD
Tritanopia (blue-blind)
#227984
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516aaf;
/* rgb */ color: rgb(81, 106, 175);
/* oklch */ color: oklch(53.7% 0.112 267.5);
Tailwind
colors: {
  custom: {
    50: '#8894c7',
    500: '#516aaf',
    950: '#000000',
  },
}
SCSS
$custom: #516aaf;
$custom-light: #8894c7;
$custom-dark: #000000;
JSON
{
  "hex": "#516aaf",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 175
  },
  "hsl": {
    "h": 224.043,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.11246,
    "h": 267.5
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#516AAF
secondary
#C3B899
accent
#AF5BCD
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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