#516BC8#516BC8

#516BC8 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.5% C 0.147 H 269.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#516BC8
RGBrgb(81, 107, 200)
HSLhsl(227, 52%, 55%)
HSVhsv(227, 60%, 78%)
CMYKcmyk(59.5%, 46.5%, 0%, 21.6%)
CIE-LABlab(47.54, 18.86, -51.45)
CIE-LCHlch(47.54, 54.80, 290.13°)
OKLaboklab(55.46% -0.0015 -0.1469)
OKLCHoklch(55.46% 0.147 269.4)
XYZxyz(19.0729, 16.4333, 56.7992)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BC8 #C8AE51
analogous
#51A6C8 #516BC8 #7351C8
triadic
#516BC8 #C8516B #6BC851
tetradic
#516BC8 #C851A6 #C8AE51 #51C873
square
#516BC8 #C851A6 #C8AE51 #51C873
split-complementary
#516BC8 #C87351 #A6C851
monochromatic
#263879 #354EA7 #516BC8 #8093D7 #AEBAE5

Accessibility & contrast

On white

4.90
#516BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#516BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BC8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BC8#FFFFFF#000000##FFFFFF
##516BC81.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CB
Deuteranopia (green-blind)
#2C6CC6
Tritanopia (blue-blind)
#008090
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516bc8;
/* rgb */ color: rgb(81, 107, 200);
/* oklch */ color: oklch(55.5% 0.147 269.4);
Tailwind
colors: {
  custom: {
    50: '#8c95d9',
    500: '#516bc8',
    950: '#000000',
  },
}
SCSS
$custom: #516bc8;
$custom-light: #8c95d9;
$custom-dark: #000000;
JSON
{
  "hex": "#516bc8",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 200
  },
  "hsl": {
    "h": 226.891,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55461,
    "c": 0.14689,
    "h": 269.4
  },
  "luminance": 0.16435
}

Semantic roles & 50–950 ramp

primary
#516BC8
secondary
#D3C8A1
accent
#BC4CDB
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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