#516FA0#516FA0

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

Color values

HEX#516FA0
RGBrgb(81, 111, 160)
HSLhsl(217, 33%, 47%)
HSVhsv(217, 49%, 63%)
CMYKcmyk(49.4%, 30.6%, 0%, 37.3%)
CIE-LABlab(46.52, 3.23, -29.81)
CIE-LCHlch(46.52, 29.98, 276.18°)
OKLaboklab(53.98% -0.0149 -0.0836)
OKLCHoklch(53.98% 0.085 259.9)
XYZxyz(15.4208, 15.6552, 35.4601)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FA0 #A08251
analogous
#5197A0 #516FA0 #5B51A0
triadic
#516FA0 #A0516F #6FA051
tetradic
#516FA0 #A05197 #A08251 #51A05B
square
#516FA0 #A05197 #A08251 #51A05B
split-complementary
#516FA0 #A05B51 #97A051
monochromatic
#28374F #3C5377 #516FA0 #758FB9 #9EB0CE

Accessibility & contrast

On white

5.08
#516FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#516FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FA0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FA0#FFFFFF#000000##FFFFFF
##516FA01.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C72A2
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#2F7A80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516fa0;
/* rgb */ color: rgb(81, 111, 160);
/* oklch */ color: oklch(54.0% 0.085 259.9);
Tailwind
colors: {
  custom: {
    50: '#8698bc',
    500: '#516fa0',
    950: '#000000',
  },
}
SCSS
$custom: #516fa0;
$custom-light: #8698bc;
$custom-dark: #000000;
JSON
{
  "hex": "#516fa0",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 160
  },
  "hsl": {
    "h": 217.215,
    "s": 32.78,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.08493,
    "h": 259.9
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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