#516DDD#516DDD

#516DDD is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.3% C 0.173 H 269.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#516DDD
RGBrgb(81, 109, 221)
HSLhsl(228, 67%, 59%)
HSVhsv(228, 63%, 87%)
CMYKcmyk(63.3%, 50.7%, 0%, 13.3%)
CIE-LABlab(49.38, 24.76, -60.46)
CIE-LCHlch(49.38, 65.33, 292.27°)
OKLaboklab(57.28% -0.001 -0.1733)
OKLCHoklch(57.28% 0.173 269.7)
XYZxyz(21.9087, 17.9051, 70.6941)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DDD #DDC151
analogous
#51B3DD #516DDD #7B51DD
triadic
#516DDD #DD516D #6DDD51
tetradic
#516DDD #DD51B3 #DDC151 #51DD7B
square
#516DDD #DD51B3 #DDC151 #51DD7B
split-complementary
#516DDD #DD7B51 #B3DD51
monochromatic
#1D3696 #2748C9 #516DDD #8498E7 #B7C3F1

Accessibility & contrast

On white

4.58
#516DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#516DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516DDD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DDD#FFFFFF#000000##000000
##516DDD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7CE1
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516ddd;
/* rgb */ color: rgb(81, 109, 221);
/* oklch */ color: oklch(57.3% 0.173 269.7);
Tailwind
colors: {
  custom: {
    50: '#8f96e8',
    500: '#516ddd',
    950: '#000000',
  },
}
SCSS
$custom: #516ddd;
$custom-light: #8f96e8;
$custom-dark: #000000;
JSON
{
  "hex": "#516ddd",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 221
  },
  "hsl": {
    "h": 228,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.17334,
    "h": 269.7
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#516DDD
secondary
#E0D5AA
accent
#C83EEA
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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