#516AC2#516AC2

#516AC2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.9% C 0.140 H 269.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#516AC2
RGBrgb(81, 106, 194)
HSLhsl(227, 48%, 54%)
HSVhsv(227, 58%, 76%)
CMYKcmyk(58.2%, 45.4%, 0%, 23.9%)
CIE-LABlab(46.91, 17.46, -49.00)
CIE-LCHlch(46.91, 52.02, 289.61°)
OKLaboklab(54.87% -0.0013 -0.1397)
OKLCHoklch(54.87% 0.14 269.4)
XYZxyz(18.2817, 15.9510, 53.1439)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AC2 #C2A951
analogous
#51A3C2 #516AC2 #7151C2
triadic
#516AC2 #C2516A #6AC251
tetradic
#516AC2 #C251A3 #C2A951 #51C271
square
#516AC2 #C251A3 #C2A951 #51C271
split-complementary
#516AC2 #C27151 #A3C251
monochromatic
#283871 #374E9E #516AC2 #7E91D2 #ACB8E2

Accessibility & contrast

On white

5.01
#516AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#516AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516AC2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AC2#FFFFFF#000000##FFFFFF
##516AC21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#316AC0
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516ac2;
/* rgb */ color: rgb(81, 106, 194);
/* oklch */ color: oklch(54.9% 0.140 269.4);
Tailwind
colors: {
  custom: {
    50: '#8b94d5',
    500: '#516ac2',
    950: '#000000',
  },
}
SCSS
$custom: #516ac2;
$custom-light: #8b94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#516ac2",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 194
  },
  "hsl": {
    "h": 226.726,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.1397,
    "h": 269.4
  },
  "luminance": 0.15952
}

Semantic roles & 50–950 ramp

primary
#516AC2
secondary
#D0C59F
accent
#BA50D8
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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