#516BD9#516BD9

#516BD9 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.6% C 0.170 H 270.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#516BD9
RGBrgb(81, 107, 217)
HSLhsl(229, 64%, 58%)
HSVhsv(229, 63%, 85%)
CMYKcmyk(62.7%, 50.7%, 0%, 14.9%)
CIE-LABlab(48.60, 24.64, -59.45)
CIE-LCHlch(48.60, 64.35, 292.51°)
OKLaboklab(56.61% 0.0005 -0.1704)
OKLCHoklch(56.61% 0.17 270.2)
XYZxyz(21.1712, 17.2726, 67.8504)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BD9 #D9BF51
analogous
#51AFD9 #516BD9 #7B51D9
triadic
#516BD9 #D9516B #6BD951
tetradic
#516BD9 #D951AF #D9BF51 #51D97B
square
#516BD9 #D951AF #D9BF51 #51D97B
split-complementary
#516BD9 #D97B51 #AFD951
monochromatic
#1F3590 #2A47C2 #516BD9 #8396E4 #B5C0EF

Accessibility & contrast

On white

4.71
#516BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#516BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BD9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BD9#FFFFFF#000000##FFFFFF
##516BD91.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADD
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516bd9;
/* rgb */ color: rgb(81, 107, 217);
/* oklch */ color: oklch(56.6% 0.170 270.2);
Tailwind
colors: {
  custom: {
    50: '#8f95e5',
    500: '#516bd9',
    950: '#000000',
  },
}
SCSS
$custom: #516bd9;
$custom-light: #8f95e5;
$custom-dark: #000000;
JSON
{
  "hex": "#516bd9",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 217
  },
  "hsl": {
    "h": 228.529,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.17039,
    "h": 270.2
  },
  "luminance": 0.17274
}

Semantic roles & 50–950 ramp

primary
#516BD9
secondary
#DED4A8
accent
#C741E7
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #516BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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