#516DC5#516DC5

#516DC5 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.7% C 0.140 H 268.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#516DC5
RGBrgb(81, 109, 197)
HSLhsl(226, 50%, 55%)
HSVhsv(226, 59%, 77%)
CMYKcmyk(58.9%, 44.7%, 0%, 22.7%)
CIE-LABlab(47.90, 16.59, -49.15)
CIE-LCHlch(47.90, 51.87, 288.66°)
OKLaboklab(55.68% -0.0041 -0.1401)
OKLCHoklch(55.68% 0.14 268.3)
XYZxyz(18.9366, 16.7163, 55.0412)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DC5 #C5A951
analogous
#51A7C5 #516DC5 #6F51C5
triadic
#516DC5 #C5516D #6DC551
tetradic
#516DC5 #C551A7 #C5A951 #51C56F
square
#516DC5 #C551A7 #C5A951 #51C56F
split-complementary
#516DC5 #C56F51 #A7C551
monochromatic
#273A75 #3650A3 #516DC5 #7F94D4 #ADBAE4

Accessibility & contrast

On white

4.83
#516DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#516DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DC5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DC5#FFFFFF#000000##FFFFFF
##516DC51.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4577C8
Deuteranopia (green-blind)
#346DC3
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516dc5;
/* rgb */ color: rgb(81, 109, 197);
/* oklch */ color: oklch(55.7% 0.140 268.3);
Tailwind
colors: {
  custom: {
    50: '#8b96d7',
    500: '#516dc5',
    950: '#000000',
  },
}
SCSS
$custom: #516dc5;
$custom-light: #8b96d7;
$custom-dark: #000000;
JSON
{
  "hex": "#516dc5",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 197
  },
  "hsl": {
    "h": 225.517,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5568,
    "c": 0.14014,
    "h": 268.3
  },
  "luminance": 0.16718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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