#516FB3#516FB3

#516FB3 is a mid, moderate blue. Relative luminance 0.164; OKLCH L 55.0% C 0.112 H 264.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#516FB3
RGBrgb(81, 111, 179)
HSLhsl(222, 39%, 51%)
HSVhsv(222, 55%, 70%)
CMYKcmyk(54.7%, 38%, 0%, 29.8%)
CIE-LABlab(47.46, 9.35, -39.45)
CIE-LCHlch(47.46, 40.54, 283.34°)
OKLaboklab(55.02% -0.0099 -0.1116)
OKLCHoklch(55.02% 0.112 264.9)
XYZxyz(17.2117, 16.3716, 44.8921)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FB3 #B39551
analogous
#51A0B3 #516FB3 #6451B3
triadic
#516FB3 #B3516F #6FB351
tetradic
#516FB3 #B351A0 #B39551 #51B364
square
#516FB3 #B351A0 #B39551 #51B364
split-complementary
#516FB3 #B36451 #A0B351
monochromatic
#2A3A60 #3C548A #516FB3 #7C92C6 #A6B6D8

Accessibility & contrast

On white

4.91
#516FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#516FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FB3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FB3#FFFFFF#000000##FFFFFF
##516FB31.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B6
Deuteranopia (green-blind)
#486CB2
Tritanopia (blue-blind)
#1A7E88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516fb3;
/* rgb */ color: rgb(81, 111, 179);
/* oklch */ color: oklch(55.0% 0.112 264.9);
Tailwind
colors: {
  custom: {
    50: '#8998ca',
    500: '#516fb3',
    950: '#000000',
  },
}
SCSS
$custom: #516fb3;
$custom-light: #8998ca;
$custom-dark: #000000;
JSON
{
  "hex": "#516fb3",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 179
  },
  "hsl": {
    "h": 221.633,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55016,
    "c": 0.11208,
    "h": 264.9
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#516FB3
secondary
#C6B89A
accent
#AB59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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