#516DCA#516DCA

#516DCA is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.0% C 0.147 H 268.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#516DCA
RGBrgb(81, 109, 202)
HSLhsl(226, 53%, 55%)
HSVhsv(226, 60%, 79%)
CMYKcmyk(59.9%, 46%, 0%, 20.8%)
CIE-LABlab(48.20, 18.28, -51.54)
CIE-LCHlch(48.20, 54.69, 289.53°)
OKLaboklab(56% -0.0033 -0.1471)
OKLCHoklch(56% 0.147 268.7)
XYZxyz(19.5191, 16.9493, 58.1086)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DCA #CAAE51
analogous
#51A9CA #516DCA #7151CA
triadic
#516DCA #CA516D #6DCA51
tetradic
#516DCA #CA51A9 #CAAE51 #51CA71
square
#516DCA #CA51A9 #CAAE51 #51CA71
split-complementary
#516DCA #CA7151 #A9CA51
monochromatic
#25397B #344FAA #516DCA #8094D8 #AFBCE7

Accessibility & contrast

On white

4.78
#516DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#516DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DCA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DCA#FFFFFF#000000##FFFFFF
##516DCA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4178CD
Deuteranopia (green-blind)
#2E6DC8
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516dca;
/* rgb */ color: rgb(81, 109, 202);
/* oklch */ color: oklch(56.0% 0.147 268.7);
Tailwind
colors: {
  custom: {
    50: '#8c96db',
    500: '#516dca',
    950: '#000000',
  },
}
SCSS
$custom: #516dca;
$custom-light: #8c96db;
$custom-dark: #000000;
JSON
{
  "hex": "#516dca",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 202
  },
  "hsl": {
    "h": 226.116,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.14716,
    "h": 268.7
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#516DCA
secondary
#D5C9A2
accent
#BB4BDD
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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