#516BC1#516BC1

#516BC1 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.0% C 0.137 H 268.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#516BC1
RGBrgb(81, 107, 193)
HSLhsl(226, 47%, 54%)
HSVhsv(226, 58%, 76%)
CMYKcmyk(58%, 44.6%, 0%, 24.3%)
CIE-LABlab(47.12, 16.50, -48.09)
CIE-LCHlch(47.12, 50.84, 288.94°)
OKLaboklab(55.01% -0.0026 -0.137)
OKLCHoklch(55.01% 0.137 268.9)
XYZxyz(18.2735, 16.1135, 52.5890)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BC1 #C1A751
analogous
#51A3C1 #516BC1 #6F51C1
triadic
#516BC1 #C1516B #6BC151
tetradic
#516BC1 #C151A3 #C1A751 #51C16F
square
#516BC1 #C151A3 #C1A751 #51C16F
split-complementary
#516BC1 #C16F51 #A3C151
monochromatic
#283970 #384F9D #516BC1 #7E91D1 #ABB8E1

Accessibility & contrast

On white

4.97
#516BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#516BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BC1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BC1#FFFFFF#000000##FFFFFF
##516BC11.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4475C4
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516bc1;
/* rgb */ color: rgb(81, 107, 193);
/* oklch */ color: oklch(55.0% 0.137 268.9);
Tailwind
colors: {
  custom: {
    50: '#8b95d4',
    500: '#516bc1',
    950: '#000000',
  },
}
SCSS
$custom: #516bc1;
$custom-light: #8b95d4;
$custom-dark: #000000;
JSON
{
  "hex": "#516bc1",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 193
  },
  "hsl": {
    "h": 226.071,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5501,
    "c": 0.13701,
    "h": 268.9
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#516BC1
secondary
#CFC49F
accent
#B851D7
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #516BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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