#516CA9#516CA9

#516CA9 is a mid, moderate blue. Relative luminance 0.153; OKLCH L 53.8% C 0.101 H 265.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#516CA9
RGBrgb(81, 108, 169)
HSLhsl(222, 35%, 49%)
HSVhsv(222, 52%, 66%)
CMYKcmyk(52.1%, 36.1%, 0%, 33.7%)
CIE-LABlab(46.09, 7.94, -35.76)
CIE-LCHlch(46.09, 36.63, 282.52°)
OKLaboklab(53.79% -0.0087 -0.1009)
OKLCHoklch(53.79% 0.101 265.1)
XYZxyz(15.9150, 15.3379, 39.6503)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CA9 #A98E51
analogous
#5198A9 #516CA9 #6251A9
triadic
#516CA9 #A9516C #6CA951
tetradic
#516CA9 #A95198 #A98E51 #51A962
square
#516CA9 #A95198 #A98E51 #51A962
split-complementary
#516CA9 #A96251 #98A951
monochromatic
#293756 #3D5280 #516CA9 #798EBF #A2B1D2

Accessibility & contrast

On white

5.16
#516CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#516CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CA9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CA9#FFFFFF#000000##FFFFFF
##516CA91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AB
Deuteranopia (green-blind)
#4A6AA8
Tritanopia (blue-blind)
#287982
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516ca9;
/* rgb */ color: rgb(81, 108, 169);
/* oklch */ color: oklch(53.8% 0.101 265.1);
Tailwind
colors: {
  custom: {
    50: '#8795c3',
    500: '#516ca9',
    950: '#000000',
  },
}
SCSS
$custom: #516ca9;
$custom-light: #8795c3;
$custom-dark: #000000;
JSON
{
  "hex": "#516ca9",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 169
  },
  "hsl": {
    "h": 221.591,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.10129,
    "h": 265.1
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

primary
#516CA9
secondary
#C0B396
accent
#A95DCB
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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