#516BC3#516BC3

#516BC3 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.1% C 0.140 H 269.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#516BC3
RGBrgb(81, 107, 195)
HSLhsl(226, 49%, 54%)
HSVhsv(226, 58%, 76%)
CMYKcmyk(58.5%, 45.1%, 0%, 23.5%)
CIE-LABlab(47.24, 17.17, -49.05)
CIE-LCHlch(47.24, 51.97, 289.29°)
OKLaboklab(55.14% -0.0023 -0.1398)
OKLCHoklch(55.14% 0.14 269.1)
XYZxyz(18.4981, 16.2034, 53.7720)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BC3 #C3A951
analogous
#51A4C3 #516BC3 #7051C3
triadic
#516BC3 #C3516B #6BC351
tetradic
#516BC3 #C351A4 #C3A951 #51C370
square
#516BC3 #C351A4 #C3A951 #51C370
split-complementary
#516BC3 #C37051 #A4C351
monochromatic
#273872 #374FA0 #516BC3 #7F92D3 #ACB8E2

Accessibility & contrast

On white

4.95
#516BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#516BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BC3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BC3#FFFFFF#000000##FFFFFF
##516BC31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4375C6
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516bc3;
/* rgb */ color: rgb(81, 107, 195);
/* oklch */ color: oklch(55.1% 0.140 269.1);
Tailwind
colors: {
  custom: {
    50: '#8b95d6',
    500: '#516bc3',
    950: '#000000',
  },
}
SCSS
$custom: #516bc3;
$custom-light: #8b95d6;
$custom-dark: #000000;
JSON
{
  "hex": "#516bc3",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 195
  },
  "hsl": {
    "h": 226.316,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55137,
    "c": 0.13985,
    "h": 269.1
  },
  "luminance": 0.16205
}

Semantic roles & 50–950 ramp

primary
#516BC3
secondary
#D0C5A0
accent
#B950D8
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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