#516BDB#516BDB

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

Color values

HEX#516BDB
RGBrgb(81, 107, 219)
HSLhsl(229, 66%, 59%)
HSVhsv(229, 63%, 86%)
CMYKcmyk(63%, 51.1%, 0%, 14.1%)
CIE-LABlab(48.73, 25.32, -60.37)
CIE-LCHlch(48.73, 65.46, 292.75°)
OKLaboklab(56.75% 0.0006 -0.1731)
OKLCHoklch(56.75% 0.173 270.2)
XYZxyz(21.4329, 17.3773, 69.2288)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BDB #DBC151
analogous
#51B0DB #516BDB #7C51DB
triadic
#516BDB #DB516B #6BDB51
tetradic
#516BDB #DB51B0 #DBC151 #51DB7C
square
#516BDB #DB51B0 #DBC151 #51DB7C
split-complementary
#516BDB #DB7C51 #B0DB51
monochromatic
#1E3493 #2947C6 #516BDB #8496E5 #B6C1F0

Accessibility & contrast

On white

4.69
#516BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#516BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BDB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BDB#FFFFFF#000000##FFFFFF
##516BDB1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516bdb;
/* rgb */ color: rgb(81, 107, 219);
/* oklch */ color: oklch(56.8% 0.173 270.2);
Tailwind
colors: {
  custom: {
    50: '#8f95e7',
    500: '#516bdb',
    950: '#000000',
  },
}
SCSS
$custom: #516bdb;
$custom-light: #8f95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#516bdb",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 228.696,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56751,
    "c": 0.17311,
    "h": 270.2
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#516BDB
secondary
#DFD5A9
accent
#C93FE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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