#516CB3#516CB3

#516CB3 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.4% C 0.116 H 266.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#516CB3
RGBrgb(81, 108, 179)
HSLhsl(223, 39%, 51%)
HSVhsv(223, 55%, 70%)
CMYKcmyk(54.7%, 39.7%, 0%, 29.8%)
CIE-LABlab(46.62, 11.21, -40.78)
CIE-LCHlch(46.62, 42.29, 285.37°)
OKLaboklab(54.36% -0.0064 -0.1156)
OKLCHoklch(54.36% 0.116 266.8)
XYZxyz(16.8899, 15.7279, 44.7848)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CB3 #B39851
analogous
#519DB3 #516CB3 #6751B3
triadic
#516CB3 #B3516C #6CB351
tetradic
#516CB3 #B3519D #B39851 #51B367
square
#516CB3 #B3519D #B39851 #51B367
split-complementary
#516CB3 #B36751 #9DB351
monochromatic
#2A3960 #3C528A #516CB3 #7C90C6 #A6B4D8

Accessibility & contrast

On white

5.07
#516CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#516CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CB3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CB3#FFFFFF#000000##FFFFFF
##516CB31.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B6
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#1B7B87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516cb3;
/* rgb */ color: rgb(81, 108, 179);
/* oklch */ color: oklch(54.4% 0.116 266.8);
Tailwind
colors: {
  custom: {
    50: '#8995ca',
    500: '#516cb3',
    950: '#000000',
  },
}
SCSS
$custom: #516cb3;
$custom-light: #8995ca;
$custom-dark: #000000;
JSON
{
  "hex": "#516cb3",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 223.469,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54365,
    "c": 0.11575,
    "h": 266.8
  },
  "luminance": 0.15729
}

Semantic roles & 50–950 ramp

primary
#516CB3
secondary
#C6BA9A
accent
#AE59CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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