#516DB3#516DB3

#516DB3 is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.6% C 0.115 H 266.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#516DB3
RGBrgb(81, 109, 179)
HSLhsl(223, 39%, 51%)
HSVhsv(223, 55%, 70%)
CMYKcmyk(54.7%, 39.1%, 0%, 29.8%)
CIE-LABlab(46.90, 10.59, -40.34)
CIE-LCHlch(46.90, 41.70, 284.71°)
OKLaboklab(54.58% -0.0075 -0.1143)
OKLCHoklch(54.58% 0.115 266.2)
XYZxyz(16.9959, 15.9400, 44.8202)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DB3 #B39751
analogous
#519EB3 #516DB3 #6651B3
triadic
#516DB3 #B3516D #6DB351
tetradic
#516DB3 #B3519E #B39751 #51B366
square
#516DB3 #B3519E #B39751 #51B366
split-complementary
#516DB3 #B36651 #9EB351
monochromatic
#2A3960 #3C538A #516DB3 #7C91C6 #A6B4D8

Accessibility & contrast

On white

5.01
#516DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#516DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DB3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DB3#FFFFFF#000000##FFFFFF
##516DB31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5074B6
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#1B7C87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516db3;
/* rgb */ color: rgb(81, 109, 179);
/* oklch */ color: oklch(54.6% 0.115 266.2);
Tailwind
colors: {
  custom: {
    50: '#8996ca',
    500: '#516db3',
    950: '#000000',
  },
}
SCSS
$custom: #516db3;
$custom-light: #8996ca;
$custom-dark: #000000;
JSON
{
  "hex": "#516db3",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 179
  },
  "hsl": {
    "h": 222.857,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.11451,
    "h": 266.2
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#516DB3
secondary
#C6B99A
accent
#AD59CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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