#516BB4#516BB4

#516BB4 is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.2% C 0.118 H 267.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#516BB4
RGBrgb(81, 107, 180)
HSLhsl(224, 40%, 51%)
HSVhsv(224, 55%, 71%)
CMYKcmyk(55%, 40.6%, 0%, 29.4%)
CIE-LABlab(46.39, 12.16, -41.72)
CIE-LCHlch(46.39, 43.46, 286.25°)
OKLaboklab(54.21% -0.005 -0.1183)
OKLCHoklch(54.21% 0.118 267.6)
XYZxyz(16.8865, 15.5588, 45.2845)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BB4 #B49A51
analogous
#519CB4 #516BB4 #6851B4
triadic
#516BB4 #B4516B #6BB451
tetradic
#516BB4 #B4519C #B49A51 #51B468
square
#516BB4 #B4519C #B49A51 #51B468
split-complementary
#516BB4 #B46851 #9CB451
monochromatic
#2A3861 #3C518C #516BB4 #7C8FC6 #A7B4D9

Accessibility & contrast

On white

5.11
#516BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#516BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BB4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BB4#FFFFFF#000000##FFFFFF
##516BB41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B7
Deuteranopia (green-blind)
#416AB2
Tritanopia (blue-blind)
#1A7B87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516bb4;
/* rgb */ color: rgb(81, 107, 180);
/* oklch */ color: oklch(54.2% 0.118 267.6);
Tailwind
colors: {
  custom: {
    50: '#8995cb',
    500: '#516bb4',
    950: '#000000',
  },
}
SCSS
$custom: #516bb4;
$custom-light: #8995cb;
$custom-dark: #000000;
JSON
{
  "hex": "#516bb4",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 180
  },
  "hsl": {
    "h": 224.242,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.11843,
    "h": 267.6
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#516BB4
secondary
#C6BB9B
accent
#B058D0
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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