#516EB2#516EB2

#516EB2 is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.7% C 0.112 H 265.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#516EB2
RGBrgb(81, 110, 178)
HSLhsl(222, 39%, 51%)
HSVhsv(222, 54%, 70%)
CMYKcmyk(54.5%, 38.2%, 0%, 30.2%)
CIE-LABlab(47.12, 9.64, -39.39)
CIE-LCHlch(47.12, 40.55, 283.75°)
OKLaboklab(54.74% -0.0089 -0.1115)
OKLCHoklch(54.74% 0.112 265.4)
XYZxyz(17.0025, 16.1143, 44.3253)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EB2 #B29551
analogous
#519EB2 #516EB2 #6451B2
triadic
#516EB2 #B2516E #6EB251
tetradic
#516EB2 #B2519E #B29551 #51B264
square
#516EB2 #B2519E #B29551 #51B264
split-complementary
#516EB2 #B26451 #9EB251
monochromatic
#2A3A5F #3D5489 #516EB2 #7B91C5 #A6B5D8

Accessibility & contrast

On white

4.97
#516EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#516EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EB2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EB2#FFFFFF#000000##FFFFFF
##516EB21.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5374B5
Deuteranopia (green-blind)
#476CB1
Tritanopia (blue-blind)
#1C7D87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516eb2;
/* rgb */ color: rgb(81, 110, 178);
/* oklch */ color: oklch(54.7% 0.112 265.4);
Tailwind
colors: {
  custom: {
    50: '#8897c9',
    500: '#516eb2',
    950: '#000000',
  },
}
SCSS
$custom: #516eb2;
$custom-light: #8897c9;
$custom-dark: #000000;
JSON
{
  "hex": "#516eb2",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 222.062,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54741,
    "c": 0.11185,
    "h": 265.4
  },
  "luminance": 0.16116
}

Semantic roles & 50–950 ramp

primary
#516EB2
secondary
#C5B89A
accent
#AB59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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