#516FA2#516FA2

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

Color values

HEX#516FA2
RGBrgb(81, 111, 162)
HSLhsl(218, 33%, 48%)
HSVhsv(218, 50%, 64%)
CMYKcmyk(50%, 31.5%, 0%, 36.5%)
CIE-LABlab(46.61, 3.86, -30.84)
CIE-LCHlch(46.61, 31.08, 277.13°)
OKLaboklab(54.08% -0.0143 -0.0866)
OKLCHoklch(54.08% 0.088 260.6)
XYZxyz(15.5972, 15.7258, 36.3889)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FA2 #A28451
analogous
#5197A2 #516FA2 #5C51A2
triadic
#516FA2 #A2516F #6FA251
tetradic
#516FA2 #A25197 #A28451 #51A25C
square
#516FA2 #A25197 #A28451 #51A25C
split-complementary
#516FA2 #A25C51 #97A251
monochromatic
#283750 #3D5379 #516FA2 #768FBA #9FB0CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516FA2#FFFFFF#000000##FFFFFF
##516FA21.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)
#5C73A4
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#2D7A81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516fa2;
/* rgb */ color: rgb(81, 111, 162);
/* oklch */ color: oklch(54.1% 0.088 260.6);
Tailwind
colors: {
  custom: {
    50: '#8698bd',
    500: '#516fa2',
    950: '#000000',
  },
}
SCSS
$custom: #516fa2;
$custom-light: #8698bd;
$custom-dark: #000000;
JSON
{
  "hex": "#516fa2",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 217.778,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54082,
    "c": 0.08777,
    "h": 260.6
  },
  "luminance": 0.15727
}

Semantic roles & 50–950 ramp

primary
#516FA2
secondary
#BCAD93
accent
#A25EC9
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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