#516DC7#516DC7

#516DC7 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.8% C 0.143 H 268.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#516DC7
RGBrgb(81, 109, 199)
HSLhsl(226, 51%, 55%)
HSVhsv(226, 59%, 78%)
CMYKcmyk(59.3%, 45.2%, 0%, 22%)
CIE-LABlab(48.02, 17.27, -50.11)
CIE-LCHlch(48.02, 53.00, 289.02°)
OKLaboklab(55.81% -0.0038 -0.1429)
OKLCHoklch(55.81% 0.143 268.5)
XYZxyz(19.1673, 16.8086, 56.2561)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DC7 #C7AB51
analogous
#51A8C7 #516DC7 #7051C7
triadic
#516DC7 #C7516D #6DC751
tetradic
#516DC7 #C751A8 #C7AB51 #51C770
square
#516DC7 #C751A8 #C7AB51 #51C770
split-complementary
#516DC7 #C77051 #A8C751
monochromatic
#263A77 #3550A6 #516DC7 #7F94D6 #AEBBE5

Accessibility & contrast

On white

4.81
#516DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#516DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DC7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DC7#FFFFFF#000000##FFFFFF
##516DC71.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4378CA
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516dc7;
/* rgb */ color: rgb(81, 109, 199);
/* oklch */ color: oklch(55.8% 0.143 268.5);
Tailwind
colors: {
  custom: {
    50: '#8c96d8',
    500: '#516dc7',
    950: '#000000',
  },
}
SCSS
$custom: #516dc7;
$custom-light: #8c96d8;
$custom-dark: #000000;
JSON
{
  "hex": "#516dc7",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 225.763,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55808,
    "c": 0.14296,
    "h": 268.5
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#516DC7
secondary
#D3C7A1
accent
#B94DDB
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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