#516FB2#516FB2

#516FB2 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 55.0% C 0.111 H 264.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#516FB2
RGBrgb(81, 111, 178)
HSLhsl(221, 39%, 51%)
HSVhsv(221, 54%, 70%)
CMYKcmyk(54.5%, 37.6%, 0%, 30.2%)
CIE-LABlab(47.41, 9.02, -38.95)
CIE-LCHlch(47.41, 39.98, 283.04°)
OKLaboklab(54.96% -0.0101 -0.1102)
OKLCHoklch(54.96% 0.111 264.8)
XYZxyz(17.1110, 16.3313, 44.3614)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FB2 #B29451
analogous
#519FB2 #516FB2 #6351B2
triadic
#516FB2 #B2516F #6FB251
tetradic
#516FB2 #B2519F #B29451 #51B263
square
#516FB2 #B2519F #B29451 #51B263
split-complementary
#516FB2 #B26351 #9FB251
monochromatic
#2A3A5F #3D5489 #516FB2 #7B92C5 #A6B5D8

Accessibility & contrast

On white

4.92
#516FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#516FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FB2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FB2#FFFFFF#000000##FFFFFF
##516FB21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#486CB1
Tritanopia (blue-blind)
#1C7E88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516fb2;
/* rgb */ color: rgb(81, 111, 178);
/* oklch */ color: oklch(55.0% 0.111 264.8);
Tailwind
colors: {
  custom: {
    50: '#8898c9',
    500: '#516fb2',
    950: '#000000',
  },
}
SCSS
$custom: #516fb2;
$custom-light: #8898c9;
$custom-dark: #000000;
JSON
{
  "hex": "#516fb2",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 178
  },
  "hsl": {
    "h": 221.443,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54959,
    "c": 0.11064,
    "h": 264.8
  },
  "luminance": 0.16333
}

Semantic roles & 50–950 ramp

primary
#516FB2
secondary
#C5B89A
accent
#AA59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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