#516BC5#516BC5

#516BC5 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.3% C 0.143 H 269.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#516BC5
RGBrgb(81, 107, 197)
HSLhsl(227, 50%, 55%)
HSVhsv(227, 59%, 77%)
CMYKcmyk(58.9%, 45.7%, 0%, 22.7%)
CIE-LABlab(47.36, 17.84, -50.01)
CIE-LCHlch(47.36, 53.10, 289.63°)
OKLaboklab(55.27% -0.002 -0.1426)
OKLCHoklch(55.27% 0.143 269.2)
XYZxyz(18.7257, 16.2944, 54.9708)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BC5 #C5AB51
analogous
#51A5C5 #516BC5 #7151C5
triadic
#516BC5 #C5516B #6BC551
tetradic
#516BC5 #C551A5 #C5AB51 #51C571
square
#516BC5 #C551A5 #C5AB51 #51C571
split-complementary
#516BC5 #C57151 #A5C551
monochromatic
#273875 #364EA3 #516BC5 #7F92D4 #ADB9E4

Accessibility & contrast

On white

4.93
#516BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#516BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BC5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BC5#FFFFFF#000000##FFFFFF
##516BC51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4176C8
Deuteranopia (green-blind)
#306BC3
Tritanopia (blue-blind)
#007F8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516bc5;
/* rgb */ color: rgb(81, 107, 197);
/* oklch */ color: oklch(55.3% 0.143 269.2);
Tailwind
colors: {
  custom: {
    50: '#8b95d7',
    500: '#516bc5',
    950: '#000000',
  },
}
SCSS
$custom: #516bc5;
$custom-light: #8b95d7;
$custom-dark: #000000;
JSON
{
  "hex": "#516bc5",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 197
  },
  "hsl": {
    "h": 226.552,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55266,
    "c": 0.14266,
    "h": 269.2
  },
  "luminance": 0.16296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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