#516CB0#516CB0

#516CB0 is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.2% C 0.111 H 266.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#516CB0
RGBrgb(81, 108, 176)
HSLhsl(223, 38%, 50%)
HSVhsv(223, 54%, 69%)
CMYKcmyk(54%, 38.6%, 0%, 31%)
CIE-LABlab(46.46, 10.22, -39.28)
CIE-LCHlch(46.46, 40.59, 284.59°)
OKLaboklab(54.19% -0.007 -0.1112)
OKLCHoklch(54.19% 0.111 266.4)
XYZxyz(16.5898, 15.6078, 43.2043)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CB0 #B09551
analogous
#519BB0 #516CB0 #6551B0
triadic
#516CB0 #B0516C #6CB051
tetradic
#516CB0 #B0519B #B09551 #51B065
square
#516CB0 #B0519B #B09551 #51B065
split-complementary
#516CB0 #B06551 #9BB051
monochromatic
#2A385D #3D5287 #516CB0 #7B90C3 #A5B3D6

Accessibility & contrast

On white

5.09
#516CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#516CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CB0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CB0#FFFFFF#000000##FFFFFF
##516CB01.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5173B3
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#207B85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516cb0;
/* rgb */ color: rgb(81, 108, 176);
/* oklch */ color: oklch(54.2% 0.111 266.4);
Tailwind
colors: {
  custom: {
    50: '#8895c8',
    500: '#516cb0',
    950: '#000000',
  },
}
SCSS
$custom: #516cb0;
$custom-light: #8895c8;
$custom-dark: #000000;
JSON
{
  "hex": "#516cb0",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 176
  },
  "hsl": {
    "h": 222.947,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5419,
    "c": 0.11142,
    "h": 266.4
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#516CB0
secondary
#C4B899
accent
#AD5ACE
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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