#516DB4#516DB4

#516DB4 is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.6% C 0.116 H 266.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#516DB4
RGBrgb(81, 109, 180)
HSLhsl(223, 40%, 51%)
HSVhsv(223, 55%, 71%)
CMYKcmyk(55%, 39.4%, 0%, 29.4%)
CIE-LABlab(46.95, 10.92, -40.83)
CIE-LCHlch(46.95, 42.27, 284.97°)
OKLaboklab(54.64% -0.0073 -0.1157)
OKLCHoklch(54.64% 0.116 266.4)
XYZxyz(17.0974, 15.9806, 45.3548)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DB4 #B49851
analogous
#519EB4 #516DB4 #6651B4
triadic
#516DB4 #B4516D #6DB451
tetradic
#516DB4 #B4519E #B49851 #51B466
square
#516DB4 #B4519E #B49851 #51B466
split-complementary
#516DB4 #B46651 #9EB451
monochromatic
#2A3961 #3C538C #516DB4 #7C91C6 #A7B5D9

Accessibility & contrast

On white

5.00
#516DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#516DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DB4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DB4#FFFFFF#000000##FFFFFF
##516DB41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5074B7
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#197C88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516db4;
/* rgb */ color: rgb(81, 109, 180);
/* oklch */ color: oklch(54.6% 0.116 266.4);
Tailwind
colors: {
  custom: {
    50: '#8996cb',
    500: '#516db4',
    950: '#000000',
  },
}
SCSS
$custom: #516db4;
$custom-light: #8996cb;
$custom-dark: #000000;
JSON
{
  "hex": "#516db4",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 180
  },
  "hsl": {
    "h": 223.03,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.11594,
    "h": 266.4
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#516DB4
secondary
#C6BA9B
accent
#AE58D0
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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