#516FA1#516FA1

#516FA1 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.0% C 0.086 H 260.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#516FA1
RGBrgb(81, 111, 161)
HSLhsl(218, 33%, 47%)
HSVhsv(218, 50%, 63%)
CMYKcmyk(49.7%, 31.1%, 0%, 36.9%)
CIE-LABlab(46.57, 3.54, -30.33)
CIE-LCHlch(46.57, 30.53, 276.66°)
OKLaboklab(54.03% -0.0146 -0.0851)
OKLCHoklch(54.03% 0.086 260.3)
XYZxyz(15.5087, 15.6904, 35.9226)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FA1 #A18351
analogous
#5197A1 #516FA1 #5B51A1
triadic
#516FA1 #A1516F #6FA151
tetradic
#516FA1 #A15197 #A18351 #51A15B
square
#516FA1 #A15197 #A18351 #51A15B
split-complementary
#516FA1 #A15B51 #97A151
monochromatic
#283750 #3D5378 #516FA1 #758FBA #9EB0CE

Accessibility & contrast

On white

5.07
#516FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#516FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FA1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FA1#FFFFFF#000000##FFFFFF
##516FA11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C72A3
Deuteranopia (green-blind)
#536BA0
Tritanopia (blue-blind)
#2E7A81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516fa1;
/* rgb */ color: rgb(81, 111, 161);
/* oklch */ color: oklch(54.0% 0.086 260.3);
Tailwind
colors: {
  custom: {
    50: '#8698bd',
    500: '#516fa1',
    950: '#000000',
  },
}
SCSS
$custom: #516fa1;
$custom-light: #8698bd;
$custom-dark: #000000;
JSON
{
  "hex": "#516fa1",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 161
  },
  "hsl": {
    "h": 217.5,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5403,
    "c": 0.08635,
    "h": 260.3
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#516FA1
secondary
#BBAC93
accent
#A15FC9
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #516FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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