#516BB0#516BB0

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

Color values

HEX#516BB0
RGBrgb(81, 107, 176)
HSLhsl(224, 38%, 50%)
HSVhsv(224, 54%, 69%)
CMYKcmyk(54%, 39.2%, 0%, 31%)
CIE-LABlab(46.17, 10.84, -39.73)
CIE-LCHlch(46.17, 41.18, 285.27°)
OKLaboklab(53.97% -0.0058 -0.1125)
OKLCHoklch(53.97% 0.113 267)
XYZxyz(16.4849, 15.3981, 43.1693)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BB0 #B09651
analogous
#519AB0 #516BB0 #6651B0
triadic
#516BB0 #B0516B #6BB051
tetradic
#516BB0 #B0519A #B09651 #51B066
square
#516BB0 #B0519A #B09651 #51B066
split-complementary
#516BB0 #B06651 #9AB051
monochromatic
#2A385D #3D5187 #516BB0 #7B8FC3 #A5B3D6

Accessibility & contrast

On white

5.15
#516BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#516BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BB0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BB0#FFFFFF#000000##FFFFFF
##516BB01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B3
Deuteranopia (green-blind)
#4469AF
Tritanopia (blue-blind)
#207A85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516bb0;
/* rgb */ color: rgb(81, 107, 176);
/* oklch */ color: oklch(54.0% 0.113 267.0);
Tailwind
colors: {
  custom: {
    50: '#8895c8',
    500: '#516bb0',
    950: '#000000',
  },
}
SCSS
$custom: #516bb0;
$custom-light: #8895c8;
$custom-dark: #000000;
JSON
{
  "hex": "#516bb0",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 176
  },
  "hsl": {
    "h": 223.579,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.11265,
    "h": 267
  },
  "luminance": 0.15399
}

Semantic roles & 50–950 ramp

primary
#516BB0
secondary
#C4B899
accent
#AE5ACE
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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