#516EB7#516EB7

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

Color values

HEX#516EB7
RGBrgb(81, 110, 183)
HSLhsl(223, 41%, 52%)
HSVhsv(223, 56%, 72%)
CMYKcmyk(55.7%, 39.9%, 0%, 28.2%)
CIE-LABlab(47.39, 11.29, -41.88)
CIE-LCHlch(47.39, 43.37, 285.09°)
OKLaboklab(55.03% -0.0078 -0.1188)
OKLCHoklch(55.03% 0.119 266.2)
XYZxyz(17.5136, 16.3188, 47.0175)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EB7 #B79A51
analogous
#51A1B7 #516EB7 #6751B7
triadic
#516EB7 #B7516E #6EB751
tetradic
#516EB7 #B751A1 #B79A51 #51B767
square
#516EB7 #B751A1 #B79A51 #51B767
split-complementary
#516EB7 #B76751 #A1B751
monochromatic
#293A64 #3B538F #516EB7 #7C92C9 #A8B6DB

Accessibility & contrast

On white

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

On black

4.26
#516EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##516EB7#FFFFFF#000000##FFFFFF
##516EB71.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5075BA
Deuteranopia (green-blind)
#436CB5
Tritanopia (blue-blind)
#137E89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516eb7;
/* rgb */ color: rgb(81, 110, 183);
/* oklch */ color: oklch(55.0% 0.119 266.2);
Tailwind
colors: {
  custom: {
    50: '#8997cd',
    500: '#516eb7',
    950: '#000000',
  },
}
SCSS
$custom: #516eb7;
$custom-light: #8997cd;
$custom-dark: #000000;
JSON
{
  "hex": "#516eb7",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 183
  },
  "hsl": {
    "h": 222.941,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.11902,
    "h": 266.2
  },
  "luminance": 0.1632
}

Semantic roles & 50–950 ramp

primary
#516EB7
secondary
#C8BC9C
accent
#AE57D1
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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