#516EB5#516EB5

#516EB5 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.9% C 0.116 H 265.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#516EB5
RGBrgb(81, 110, 181)
HSLhsl(223, 40%, 51%)
HSVhsv(223, 55%, 71%)
CMYKcmyk(55.2%, 39.2%, 0%, 29%)
CIE-LABlab(47.28, 10.63, -40.89)
CIE-LCHlch(47.28, 42.24, 284.57°)
OKLaboklab(54.92% -0.0083 -0.1159)
OKLCHoklch(54.92% 0.116 265.9)
XYZxyz(17.3070, 16.2361, 45.9290)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EB5 #B59851
analogous
#51A0B5 #516EB5 #6651B5
triadic
#516EB5 #B5516E #6EB551
tetradic
#516EB5 #B551A0 #B59851 #51B566
square
#516EB5 #B551A0 #B59851 #51B566
split-complementary
#516EB5 #B56651 #A0B551
monochromatic
#2A3A62 #3C538D #516EB5 #7C92C7 #A7B6DA

Accessibility & contrast

On white

4.94
#516EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#516EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EB5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EB5#FFFFFF#000000##FFFFFF
##516EB51.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5175B8
Deuteranopia (green-blind)
#456CB3
Tritanopia (blue-blind)
#177E89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516eb5;
/* rgb */ color: rgb(81, 110, 181);
/* oklch */ color: oklch(54.9% 0.116 265.9);
Tailwind
colors: {
  custom: {
    50: '#8997cb',
    500: '#516eb5',
    950: '#000000',
  },
}
SCSS
$custom: #516eb5;
$custom-light: #8997cb;
$custom-dark: #000000;
JSON
{
  "hex": "#516eb5",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 181
  },
  "hsl": {
    "h": 222.6,
    "s": 40.323,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.11615,
    "h": 265.9
  },
  "luminance": 0.16237
}

Semantic roles & 50–950 ramp

primary
#516EB5
secondary
#C7BA9B
accent
#AD58D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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