#516DB5#516DB5

#516DB5 is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.7% C 0.117 H 266.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#516DB5
RGBrgb(81, 109, 181)
HSLhsl(223, 40%, 51%)
HSVhsv(223, 55%, 71%)
CMYKcmyk(55.2%, 39.8%, 0%, 29%)
CIE-LABlab(47.00, 11.25, -41.33)
CIE-LCHlch(47.00, 42.83, 285.23°)
OKLaboklab(54.7% -0.0071 -0.1172)
OKLCHoklch(54.7% 0.117 266.5)
XYZxyz(17.1997, 16.0215, 45.8932)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DB5 #B59951
analogous
#519FB5 #516DB5 #6751B5
triadic
#516DB5 #B5516D #6DB551
tetradic
#516DB5 #B5519F #B59951 #51B567
square
#516DB5 #B5519F #B59951 #51B567
split-complementary
#516DB5 #B56751 #9FB551
monochromatic
#2A3962 #3C538D #516DB5 #7C91C7 #A7B5DA

Accessibility & contrast

On white

4.99
#516DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516DB5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DB5#FFFFFF#000000##FFFFFF
##516DB51.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B8
Deuteranopia (green-blind)
#436BB3
Tritanopia (blue-blind)
#187D88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516db5;
/* rgb */ color: rgb(81, 109, 181);
/* oklch */ color: oklch(54.7% 0.117 266.5);
Tailwind
colors: {
  custom: {
    50: '#8996cb',
    500: '#516db5',
    950: '#000000',
  },
}
SCSS
$custom: #516db5;
$custom-light: #8996cb;
$custom-dark: #000000;
JSON
{
  "hex": "#516db5",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 181
  },
  "hsl": {
    "h": 223.2,
    "s": 40.323,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54699,
    "c": 0.11737,
    "h": 266.5
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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