#516BB3#516BB3

#516BB3 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 54.1% C 0.117 H 267.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#516BB3
RGBrgb(81, 107, 179)
HSLhsl(224, 39%, 51%)
HSVhsv(224, 55%, 70%)
CMYKcmyk(54.7%, 40.2%, 0%, 29.8%)
CIE-LABlab(46.34, 11.83, -41.22)
CIE-LCHlch(46.34, 42.89, 286.01°)
OKLaboklab(54.15% -0.0052 -0.1169)
OKLCHoklch(54.15% 0.117 267.4)
XYZxyz(16.7850, 15.5182, 44.7499)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BB3 #B39951
analogous
#519CB3 #516BB3 #6851B3
triadic
#516BB3 #B3516B #6BB351
tetradic
#516BB3 #B3519C #B39951 #51B368
square
#516BB3 #B3519C #B39951 #51B368
split-complementary
#516BB3 #B36851 #9CB351
monochromatic
#2A3860 #3C518A #516BB3 #7C8FC6 #A6B3D8

Accessibility & contrast

On white

5.12
#516BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#516BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BB3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BB3#FFFFFF#000000##FFFFFF
##516BB31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B6
Deuteranopia (green-blind)
#426AB1
Tritanopia (blue-blind)
#1C7B86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516bb3;
/* rgb */ color: rgb(81, 107, 179);
/* oklch */ color: oklch(54.1% 0.117 267.4);
Tailwind
colors: {
  custom: {
    50: '#8995ca',
    500: '#516bb3',
    950: '#000000',
  },
}
SCSS
$custom: #516bb3;
$custom-light: #8995ca;
$custom-dark: #000000;
JSON
{
  "hex": "#516bb3",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 224.082,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5415,
    "c": 0.11699,
    "h": 267.4
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#516BB3
secondary
#C6BA9A
accent
#B059CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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