#516CB8#516CB8

#516CB8 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.7% C 0.123 H 267.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#516CB8
RGBrgb(81, 108, 184)
HSLhsl(224, 42%, 52%)
HSVhsv(224, 56%, 72%)
CMYKcmyk(56%, 41.3%, 0%, 27.8%)
CIE-LABlab(46.89, 12.86, -43.25)
CIE-LCHlch(46.89, 45.13, 286.56°)
OKLaboklab(54.66% -0.0053 -0.1228)
OKLCHoklch(54.66% 0.123 267.5)
XYZxyz(17.4047, 15.9338, 47.4965)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CB8 #B89D51
analogous
#51A0B8 #516CB8 #6A51B8
triadic
#516CB8 #B8516C #6CB851
tetradic
#516CB8 #B851A0 #B89D51 #51B86A
square
#516CB8 #B851A0 #B89D51 #51B86A
split-complementary
#516CB8 #B86A51 #A0B851
monochromatic
#293965 #3B5291 #516CB8 #7C91CA #A8B5DB

Accessibility & contrast

On white

5.02
#516CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#516CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CB8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CB8#FFFFFF#000000##FFFFFF
##516CB81.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BB
Deuteranopia (green-blind)
#3F6BB6
Tritanopia (blue-blind)
#127D89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516cb8;
/* rgb */ color: rgb(81, 108, 184);
/* oklch */ color: oklch(54.7% 0.123 267.5);
Tailwind
colors: {
  custom: {
    50: '#8995ce',
    500: '#516cb8',
    950: '#000000',
  },
}
SCSS
$custom: #516cb8;
$custom-light: #8995ce;
$custom-dark: #000000;
JSON
{
  "hex": "#516cb8",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 224.272,
    "s": 42.041,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.12293,
    "h": 267.5
  },
  "luminance": 0.15935
}

Semantic roles & 50–950 ramp

primary
#516CB8
secondary
#C9BD9C
accent
#B156D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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