#516BB1#516BB1

#516BB1 is a mid, moderate blue. Relative luminance 0.154; OKLCH L 54.0% C 0.114 H 267.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#516BB1
RGBrgb(81, 107, 177)
HSLhsl(224, 38%, 51%)
HSVhsv(224, 54%, 69%)
CMYKcmyk(54.2%, 39.5%, 0%, 30.6%)
CIE-LABlab(46.23, 11.17, -40.23)
CIE-LCHlch(46.23, 41.75, 285.52°)
OKLaboklab(54.03% -0.0056 -0.114)
OKLCHoklch(54.03% 0.114 267.2)
XYZxyz(16.5842, 15.4378, 43.6923)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BB1 #B19751
analogous
#519BB1 #516BB1 #6751B1
triadic
#516BB1 #B1516B #6BB151
tetradic
#516BB1 #B1519B #B19751 #51B167
square
#516BB1 #B1519B #B19751 #51B167
split-complementary
#516BB1 #B16751 #9BB151
monochromatic
#2A385E #3D5188 #516BB1 #7B8FC4 #A6B3D7

Accessibility & contrast

On white

5.14
#516BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#516BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BB1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BB1#FFFFFF#000000##FFFFFF
##516BB11.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B4
Deuteranopia (green-blind)
#436AAF
Tritanopia (blue-blind)
#1F7A85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516bb1;
/* rgb */ color: rgb(81, 107, 177);
/* oklch */ color: oklch(54.0% 0.114 267.2);
Tailwind
colors: {
  custom: {
    50: '#8895c8',
    500: '#516bb1',
    950: '#000000',
  },
}
SCSS
$custom: #516bb1;
$custom-light: #8895c8;
$custom-dark: #000000;
JSON
{
  "hex": "#516bb1",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 223.75,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.1141,
    "h": 267.2
  },
  "luminance": 0.15439
}

Semantic roles & 50–950 ramp

primary
#516BB1
secondary
#C4B99A
accent
#AF5ACE
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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