#516BC0#516BC0

#516BC0 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.9% C 0.136 H 268.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#516BC0
RGBrgb(81, 107, 192)
HSLhsl(226, 47%, 54%)
HSVhsv(226, 58%, 75%)
CMYKcmyk(57.8%, 44.3%, 0%, 24.7%)
CIE-LABlab(47.06, 16.16, -47.60)
CIE-LCHlch(47.06, 50.27, 288.75°)
OKLaboklab(54.95% -0.0028 -0.1356)
OKLCHoklch(54.95% 0.136 268.8)
XYZxyz(18.1623, 16.0691, 52.0035)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BC0 #C0A651
analogous
#51A2C0 #516BC0 #6E51C0
triadic
#516BC0 #C0516B #6BC051
tetradic
#516BC0 #C051A2 #C0A651 #51C06E
square
#516BC0 #C051A2 #C0A651 #51C06E
split-complementary
#516BC0 #C06E51 #A2C051
monochromatic
#28396F #38509B #516BC0 #7E91D0 #ABB7E1

Accessibility & contrast

On white

4.98
#516BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#516BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BC0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BC0#FFFFFF#000000##FFFFFF
##516BC01.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4575C3
Deuteranopia (green-blind)
#366BBE
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516bc0;
/* rgb */ color: rgb(81, 107, 192);
/* oklch */ color: oklch(54.9% 0.136 268.8);
Tailwind
colors: {
  custom: {
    50: '#8b95d3',
    500: '#516bc0',
    950: '#000000',
  },
}
SCSS
$custom: #516bc0;
$custom-light: #8b95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#516bc0",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 192
  },
  "hsl": {
    "h": 225.946,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54947,
    "c": 0.1356,
    "h": 268.8
  },
  "luminance": 0.1607
}

Semantic roles & 50–950 ramp

primary
#516BC0
secondary
#CEC39F
accent
#B751D6
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #516BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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