#516FB7#516FB7

#516FB7 is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.2% C 0.118 H 265.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#516FB7
RGBrgb(81, 111, 183)
HSLhsl(222, 41%, 52%)
HSVhsv(222, 56%, 72%)
CMYKcmyk(55.7%, 39.3%, 0%, 28.2%)
CIE-LABlab(47.67, 10.67, -41.43)
CIE-LCHlch(47.67, 42.78, 284.44°)
OKLaboklab(55.25% -0.009 -0.1174)
OKLCHoklch(55.25% 0.118 265.6)
XYZxyz(17.6221, 16.5358, 47.0537)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FB7 #B79951
analogous
#51A2B7 #516FB7 #6651B7
triadic
#516FB7 #B7516F #6FB751
tetradic
#516FB7 #B751A2 #B79951 #51B766
square
#516FB7 #B751A2 #B79951 #51B766
split-complementary
#516FB7 #B76651 #A2B751
monochromatic
#293B64 #3B548F #516FB7 #7C93C9 #A8B7DB

Accessibility & contrast

On white

4.88
#516FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#516FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FB7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FB7#FFFFFF#000000##FFFFFF
##516FB71.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5176BA
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#137F8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516fb7;
/* rgb */ color: rgb(81, 111, 183);
/* oklch */ color: oklch(55.2% 0.118 265.6);
Tailwind
colors: {
  custom: {
    50: '#8998cd',
    500: '#516fb7',
    950: '#000000',
  },
}
SCSS
$custom: #516fb7;
$custom-light: #8998cd;
$custom-dark: #000000;
JSON
{
  "hex": "#516fb7",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 183
  },
  "hsl": {
    "h": 222.353,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55249,
    "c": 0.11779,
    "h": 265.6
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#516FB7
secondary
#C8BB9C
accent
#AD57D1
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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