#516CB9#516CB9

#516CB9 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.7% C 0.124 H 267.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#516CB9
RGBrgb(81, 108, 185)
HSLhsl(224, 43%, 52%)
HSVhsv(224, 56%, 73%)
CMYKcmyk(56.2%, 41.6%, 0%, 27.5%)
CIE-LABlab(46.94, 13.20, -43.75)
CIE-LCHlch(46.94, 45.69, 286.79°)
OKLaboklab(54.72% -0.0051 -0.1242)
OKLCHoklch(54.72% 0.124 267.6)
XYZxyz(17.5099, 15.9759, 48.0505)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CB9 #B99E51
analogous
#51A0B9 #516CB9 #6A51B9
triadic
#516CB9 #B9516C #6CB951
tetradic
#516CB9 #B951A0 #B99E51 #51B96A
square
#516CB9 #B951A0 #B99E51 #51B96A
split-complementary
#516CB9 #B96A51 #A0B951
monochromatic
#293966 #3B5192 #516CB9 #7D91CB #A8B6DC

Accessibility & contrast

On white

5.01
#516CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#516CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CB9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CB9#FFFFFF#000000##FFFFFF
##516CB91.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BC
Deuteranopia (green-blind)
#3E6BB7
Tritanopia (blue-blind)
#107D89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516cb9;
/* rgb */ color: rgb(81, 108, 185);
/* oklch */ color: oklch(54.7% 0.124 267.6);
Tailwind
colors: {
  custom: {
    50: '#8995ce',
    500: '#516cb9',
    950: '#000000',
  },
}
SCSS
$custom: #516cb9;
$custom-light: #8995ce;
$custom-dark: #000000;
JSON
{
  "hex": "#516cb9",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 185
  },
  "hsl": {
    "h": 224.423,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54724,
    "c": 0.12436,
    "h": 267.6
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#516CB9
secondary
#CABE9C
accent
#B255D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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