#516BC2#516BC2

#516BC2 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.1% C 0.138 H 269.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#516BC2
RGBrgb(81, 107, 194)
HSLhsl(226, 48%, 54%)
HSVhsv(226, 58%, 76%)
CMYKcmyk(58.2%, 44.8%, 0%, 23.9%)
CIE-LABlab(47.18, 16.83, -48.57)
CIE-LCHlch(47.18, 51.40, 289.11°)
OKLaboklab(55.07% -0.0024 -0.1384)
OKLCHoklch(55.07% 0.138 269)
XYZxyz(18.3854, 16.1583, 53.1785)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BC2 #C2A851
analogous
#51A4C2 #516BC2 #7051C2
triadic
#516BC2 #C2516B #6BC251
tetradic
#516BC2 #C251A4 #C2A851 #51C270
square
#516BC2 #C251A4 #C2A851 #51C270
split-complementary
#516BC2 #C27051 #A4C251
monochromatic
#283871 #374F9E #516BC2 #7E92D2 #ACB8E2

Accessibility & contrast

On white

4.96
#516BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#516BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BC2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BC2#FFFFFF#000000##FFFFFF
##516BC21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4375C5
Deuteranopia (green-blind)
#346BC0
Tritanopia (blue-blind)
#007E8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516bc2;
/* rgb */ color: rgb(81, 107, 194);
/* oklch */ color: oklch(55.1% 0.138 269.0);
Tailwind
colors: {
  custom: {
    50: '#8b95d5',
    500: '#516bc2',
    950: '#000000',
  },
}
SCSS
$custom: #516bc2;
$custom-light: #8b95d5;
$custom-dark: #000000;
JSON
{
  "hex": "#516bc2",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 226.195,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55073,
    "c": 0.13843,
    "h": 269
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#516BC2
secondary
#D0C49F
accent
#B850D8
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #516BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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