#516EB3#516EB3

#516EB3 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.8% C 0.113 H 265.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#516EB3
RGBrgb(81, 110, 179)
HSLhsl(222, 39%, 51%)
HSVhsv(222, 55%, 70%)
CMYKcmyk(54.7%, 38.5%, 0%, 29.8%)
CIE-LABlab(47.18, 9.97, -39.89)
CIE-LCHlch(47.18, 41.12, 284.03°)
OKLaboklab(54.8% -0.0087 -0.1129)
OKLCHoklch(54.8% 0.113 265.6)
XYZxyz(17.1032, 16.1546, 44.8560)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EB3 #B39651
analogous
#519FB3 #516EB3 #6551B3
triadic
#516EB3 #B3516E #6EB351
tetradic
#516EB3 #B3519F #B39651 #51B365
square
#516EB3 #B3519F #B39651 #51B365
split-complementary
#516EB3 #B36551 #9FB351
monochromatic
#2A3A60 #3C538A #516EB3 #7C91C6 #A6B5D8

Accessibility & contrast

On white

4.96
#516EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#516EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EB3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EB3#FFFFFF#000000##FFFFFF
##516EB31.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5275B6
Deuteranopia (green-blind)
#466CB2
Tritanopia (blue-blind)
#1B7D88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516eb3;
/* rgb */ color: rgb(81, 110, 179);
/* oklch */ color: oklch(54.8% 0.113 265.6);
Tailwind
colors: {
  custom: {
    50: '#8997ca',
    500: '#516eb3',
    950: '#000000',
  },
}
SCSS
$custom: #516eb3;
$custom-light: #8997ca;
$custom-dark: #000000;
JSON
{
  "hex": "#516eb3",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 179
  },
  "hsl": {
    "h": 222.245,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.11328,
    "h": 265.6
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#516EB3
secondary
#C6B99A
accent
#AC59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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