#516CC5#516CC5

#516CC5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.5% C 0.141 H 268.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#516CC5
RGBrgb(81, 108, 197)
HSLhsl(226, 50%, 55%)
HSVhsv(226, 59%, 77%)
CMYKcmyk(58.9%, 45.2%, 0%, 22.7%)
CIE-LABlab(47.63, 17.22, -49.58)
CIE-LCHlch(47.63, 52.49, 289.15°)
OKLaboklab(55.47% -0.003 -0.1414)
OKLCHoklch(55.47% 0.141 268.8)
XYZxyz(18.8306, 16.5042, 55.0058)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CC5 #C5AA51
analogous
#51A6C5 #516CC5 #7051C5
triadic
#516CC5 #C5516C #6CC551
tetradic
#516CC5 #C551A6 #C5AA51 #51C570
square
#516CC5 #C551A6 #C5AA51 #51C570
split-complementary
#516CC5 #C57051 #A6C551
monochromatic
#273975 #364FA3 #516CC5 #7F93D4 #ADBAE4

Accessibility & contrast

On white

4.88
#516CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#516CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CC5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CC5#FFFFFF#000000##FFFFFF
##516CC51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4376C8
Deuteranopia (green-blind)
#326CC3
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516cc5;
/* rgb */ color: rgb(81, 108, 197);
/* oklch */ color: oklch(55.5% 0.141 268.8);
Tailwind
colors: {
  custom: {
    50: '#8b95d7',
    500: '#516cc5',
    950: '#000000',
  },
}
SCSS
$custom: #516cc5;
$custom-light: #8b95d7;
$custom-dark: #000000;
JSON
{
  "hex": "#516cc5",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 226.034,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55473,
    "c": 0.1414,
    "h": 268.8
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

primary
#516CC5
secondary
#D1C6A0
accent
#B94EDA
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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