#516FB0#516FB0

#516FB0 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 54.8% C 0.108 H 264.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#516FB0
RGBrgb(81, 111, 176)
HSLhsl(221, 38%, 50%)
HSVhsv(221, 54%, 69%)
CMYKcmyk(54%, 36.9%, 0%, 31%)
CIE-LABlab(47.30, 8.37, -37.95)
CIE-LCHlch(47.30, 38.86, 282.43°)
OKLaboklab(54.85% -0.0106 -0.1073)
OKLCHoklch(54.85% 0.108 264.4)
XYZxyz(16.9116, 16.2516, 43.3116)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FB0 #B09251
analogous
#519EB0 #516FB0 #6351B0
triadic
#516FB0 #B0516F #6FB051
tetradic
#516FB0 #B0519E #B09251 #51B063
square
#516FB0 #B0519E #B09251 #51B063
split-complementary
#516FB0 #B06351 #9EB051
monochromatic
#2A3A5D #3D5487 #516FB0 #7B92C3 #A5B5D6

Accessibility & contrast

On white

4.94
#516FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#516FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FB0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FB0#FFFFFF#000000##FFFFFF
##516FB01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5575B3
Deuteranopia (green-blind)
#4A6CAF
Tritanopia (blue-blind)
#1F7D87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516fb0;
/* rgb */ color: rgb(81, 111, 176);
/* oklch */ color: oklch(54.8% 0.108 264.4);
Tailwind
colors: {
  custom: {
    50: '#8898c8',
    500: '#516fb0',
    950: '#000000',
  },
}
SCSS
$custom: #516fb0;
$custom-light: #8898c8;
$custom-dark: #000000;
JSON
{
  "hex": "#516fb0",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 176
  },
  "hsl": {
    "h": 221.053,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.10778,
    "h": 264.4
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#516FB0
secondary
#C4B699
accent
#A95ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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