#516EB6#516EB6

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

Color values

HEX#516EB6
RGBrgb(81, 110, 182)
HSLhsl(223, 41%, 52%)
HSVhsv(223, 55%, 71%)
CMYKcmyk(55.5%, 39.6%, 0%, 28.6%)
CIE-LABlab(47.34, 10.96, -41.38)
CIE-LCHlch(47.34, 42.81, 284.83°)
OKLaboklab(54.97% -0.008 -0.1173)
OKLCHoklch(54.97% 0.118 266.1)
XYZxyz(17.4099, 16.2773, 46.4713)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EB6 #B69951
analogous
#51A1B6 #516EB6 #6751B6
triadic
#516EB6 #B6516E #6EB651
tetradic
#516EB6 #B651A1 #B69951 #51B667
square
#516EB6 #B651A1 #B69951 #51B667
split-complementary
#516EB6 #B66751 #A1B651
monochromatic
#2A3A63 #3C538E #516EB6 #7C92C8 #A7B6DA

Accessibility & contrast

On white

4.93
#516EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516EB6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EB6#FFFFFF#000000##FFFFFF
##516EB61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5075B9
Deuteranopia (green-blind)
#446CB4
Tritanopia (blue-blind)
#157E89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516eb6;
/* rgb */ color: rgb(81, 110, 182);
/* oklch */ color: oklch(55.0% 0.118 266.1);
Tailwind
colors: {
  custom: {
    50: '#8997cc',
    500: '#516eb6',
    950: '#000000',
  },
}
SCSS
$custom: #516eb6;
$custom-light: #8997cc;
$custom-dark: #000000;
JSON
{
  "hex": "#516eb6",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 182
  },
  "hsl": {
    "h": 222.772,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54974,
    "c": 0.11759,
    "h": 266.1
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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