#516CDE#516CDE

#516CDE is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.2% C 0.176 H 270.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#516CDE
RGBrgb(81, 108, 222)
HSLhsl(229, 68%, 59%)
HSVhsv(229, 64%, 87%)
CMYKcmyk(63.5%, 51.4%, 0%, 12.9%)
CIE-LABlab(49.19, 25.72, -61.34)
CIE-LCHlch(49.19, 66.51, 292.75°)
OKLaboklab(57.16% 0 -0.1759)
OKLCHoklch(57.16% 0.176 270)
XYZxyz(21.9363, 17.7464, 71.3625)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CDE #DEC351
analogous
#51B2DE #516CDE #7D51DE
triadic
#516CDE #DE516C #6CDE51
tetradic
#516CDE #DE51B2 #DEC351 #51DE7D
square
#516CDE #DE51B2 #DEC351 #51DE7D
split-complementary
#516CDE #DE7D51 #B2DE51
monochromatic
#1D3498 #2746CB #516CDE #8497E8 #B8C3F2

Accessibility & contrast

On white

4.62
#516CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#516CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516CDE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CDE#FFFFFF#000000##FFFFFF
##516CDE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#277BE2
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516cde;
/* rgb */ color: rgb(81, 108, 222);
/* oklch */ color: oklch(57.2% 0.176 270.0);
Tailwind
colors: {
  custom: {
    50: '#8f95e9',
    500: '#516cde',
    950: '#000000',
  },
}
SCSS
$custom: #516cde;
$custom-light: #8f95e9;
$custom-dark: #000000;
JSON
{
  "hex": "#516cde",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 228.511,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57157,
    "c": 0.17593,
    "h": 270
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

primary
#516CDE
secondary
#E1D6AA
accent
#CA3DEB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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