#516DC2#516DC2

#516DC2 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.5% C 0.136 H 268.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#516DC2
RGBrgb(81, 109, 194)
HSLhsl(225, 48%, 54%)
HSVhsv(225, 58%, 76%)
CMYKcmyk(58.2%, 43.8%, 0%, 23.9%)
CIE-LABlab(47.73, 15.58, -47.70)
CIE-LCHlch(47.73, 50.18, 288.09°)
OKLaboklab(55.49% -0.0046 -0.1358)
OKLCHoklch(55.49% 0.136 268.1)
XYZxyz(18.5963, 16.5802, 53.2488)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DC2 #C2A651
analogous
#51A6C2 #516DC2 #6E51C2
triadic
#516DC2 #C2516D #6DC251
tetradic
#516DC2 #C251A6 #C2A651 #51C26E
square
#516DC2 #C251A6 #C2A651 #51C26E
split-complementary
#516DC2 #C26E51 #A6C251
monochromatic
#283A71 #37519E #516DC2 #7E93D2 #ACB9E2

Accessibility & contrast

On white

4.87
#516DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#516DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DC2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DC2#FFFFFF#000000##FFFFFF
##516DC21.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#376DC0
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516dc2;
/* rgb */ color: rgb(81, 109, 194);
/* oklch */ color: oklch(55.5% 0.136 268.1);
Tailwind
colors: {
  custom: {
    50: '#8b96d5',
    500: '#516dc2',
    950: '#000000',
  },
}
SCSS
$custom: #516dc2;
$custom-light: #8b96d5;
$custom-dark: #000000;
JSON
{
  "hex": "#516dc2",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 225.133,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55491,
    "c": 0.13591,
    "h": 268.1
  },
  "luminance": 0.16582
}

Semantic roles & 50–950 ramp

primary
#516DC2
secondary
#D0C49F
accent
#B650D8
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #516DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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