#516CDB#516CDB

#516CDB is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.9% C 0.172 H 269.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#516CDB
RGBrgb(81, 108, 219)
HSLhsl(228, 66%, 59%)
HSVhsv(228, 63%, 86%)
CMYKcmyk(63%, 50.7%, 0%, 14.1%)
CIE-LABlab(48.99, 24.70, -59.95)
CIE-LCHlch(48.99, 64.84, 292.39°)
OKLaboklab(56.95% -0.0003 -0.1719)
OKLCHoklch(56.95% 0.172 269.9)
XYZxyz(21.5378, 17.5870, 69.2637)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CDB #DBC051
analogous
#51B1DB #516CDB #7B51DB
triadic
#516CDB #DB516C #6CDB51
tetradic
#516CDB #DB51B1 #DBC051 #51DB7B
square
#516CDB #DB51B1 #DBC051 #51DB7B
split-complementary
#516CDB #DB7B51 #B1DB51
monochromatic
#1E3593 #2948C6 #516CDB #8497E5 #B6C2F0

Accessibility & contrast

On white

4.65
#516CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#516CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516CDB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CDB#FFFFFF#000000##FFFFFF
##516CDB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BDF
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516cdb;
/* rgb */ color: rgb(81, 108, 219);
/* oklch */ color: oklch(56.9% 0.172 269.9);
Tailwind
colors: {
  custom: {
    50: '#8f95e7',
    500: '#516cdb',
    950: '#000000',
  },
}
SCSS
$custom: #516cdb;
$custom-light: #8f95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#516cdb",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 228.261,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56947,
    "c": 0.17187,
    "h": 269.9
  },
  "luminance": 0.17589
}

Semantic roles & 50–950 ramp

primary
#516CDB
secondary
#DFD4A9
accent
#C73FE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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