#516CB7#516CB7

#516CB7 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.6% C 0.121 H 267.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#516CB7
RGBrgb(81, 108, 183)
HSLhsl(224, 41%, 52%)
HSVhsv(224, 56%, 72%)
CMYKcmyk(55.7%, 41%, 0%, 28.2%)
CIE-LABlab(46.83, 12.53, -42.76)
CIE-LCHlch(46.83, 44.56, 286.33°)
OKLaboklab(54.6% -0.0055 -0.1214)
OKLCHoklch(54.6% 0.121 267.4)
XYZxyz(17.3003, 15.8921, 46.9464)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CB7 #B79C51
analogous
#519FB7 #516CB7 #6951B7
triadic
#516CB7 #B7516C #6CB751
tetradic
#516CB7 #B7519F #B79C51 #51B769
square
#516CB7 #B7519F #B79C51 #51B769
split-complementary
#516CB7 #B76951 #9FB751
monochromatic
#293964 #3B528F #516CB7 #7C91C9 #A8B5DB

Accessibility & contrast

On white

5.03
#516CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#516CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CB7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CB7#FFFFFF#000000##FFFFFF
##516CB71.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#406BB5
Tritanopia (blue-blind)
#147C88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516cb7;
/* rgb */ color: rgb(81, 108, 183);
/* oklch */ color: oklch(54.6% 0.121 267.4);
Tailwind
colors: {
  custom: {
    50: '#8995cd',
    500: '#516cb7',
    950: '#000000',
  },
}
SCSS
$custom: #516cb7;
$custom-light: #8995cd;
$custom-dark: #000000;
JSON
{
  "hex": "#516cb7",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 224.118,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.12149,
    "h": 267.4
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#516CB7
secondary
#C8BC9C
accent
#B157D1
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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