#516BCB#516BCB

#516BCB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.7% C 0.151 H 269.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#516BCB
RGBrgb(81, 107, 203)
HSLhsl(227, 54%, 56%)
HSVhsv(227, 60%, 80%)
CMYKcmyk(60.1%, 47.3%, 0%, 20.4%)
CIE-LABlab(47.72, 19.87, -52.88)
CIE-LCHlch(47.72, 56.49, 290.60°)
OKLaboklab(55.66% -0.0011 -0.1511)
OKLCHoklch(55.66% 0.151 269.6)
XYZxyz(19.4269, 16.5749, 58.6639)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BCB #CBB151
analogous
#51A8CB #516BCB #7451CB
triadic
#516BCB #CB516B #6BCB51
tetradic
#516BCB #CB51A8 #CBB151 #51CB74
square
#516BCB #CB51A8 #CBB151 #51CB74
split-complementary
#516BCB #CB7451 #A8CB51
monochromatic
#25387C #334DAC #516BCB #8093D9 #AFBBE7

Accessibility & contrast

On white

4.87
#516BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#516BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BCB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BCB#FFFFFF#000000##FFFFFF
##516BCB1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CF
Deuteranopia (green-blind)
#276CC9
Tritanopia (blue-blind)
#008191
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516bcb;
/* rgb */ color: rgb(81, 107, 203);
/* oklch */ color: oklch(55.7% 0.151 269.6);
Tailwind
colors: {
  custom: {
    50: '#8c95db',
    500: '#516bcb',
    950: '#000000',
  },
}
SCSS
$custom: #516bcb;
$custom-light: #8c95db;
$custom-dark: #000000;
JSON
{
  "hex": "#516bcb",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 227.213,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55658,
    "c": 0.15108,
    "h": 269.6
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#516BCB
secondary
#D5CAA3
accent
#BE4ADD
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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