#516BC7#516BC7

#516BC7 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.4% C 0.145 H 269.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#516BC7
RGBrgb(81, 107, 199)
HSLhsl(227, 51%, 55%)
HSVhsv(227, 59%, 78%)
CMYKcmyk(59.3%, 46.2%, 0%, 22%)
CIE-LABlab(47.48, 18.52, -50.97)
CIE-LCHlch(47.48, 54.23, 289.97°)
OKLaboklab(55.4% -0.0017 -0.1455)
OKLCHoklch(55.4% 0.145 269.3)
XYZxyz(18.9564, 16.3867, 56.1858)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BC7 #C7AD51
analogous
#51A6C7 #516BC7 #7251C7
triadic
#516BC7 #C7516B #6BC751
tetradic
#516BC7 #C751A6 #C7AD51 #51C772
square
#516BC7 #C751A6 #C7AD51 #51C772
split-complementary
#516BC7 #C77251 #A6C751
monochromatic
#263877 #354EA6 #516BC7 #7F92D6 #AEBAE5

Accessibility & contrast

On white

4.91
#516BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#516BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BC7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BC7#FFFFFF#000000##FFFFFF
##516BC71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CA
Deuteranopia (green-blind)
#2D6CC5
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516bc7;
/* rgb */ color: rgb(81, 107, 199);
/* oklch */ color: oklch(55.4% 0.145 269.3);
Tailwind
colors: {
  custom: {
    50: '#8c95d8',
    500: '#516bc7',
    950: '#000000',
  },
}
SCSS
$custom: #516bc7;
$custom-light: #8c95d8;
$custom-dark: #000000;
JSON
{
  "hex": "#516bc7",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 226.78,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.14548,
    "h": 269.3
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#516BC7
secondary
#D3C8A1
accent
#BC4DDB
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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