#516DD2#516DD2

#516DD2 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.5% C 0.158 H 269.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#516DD2
RGBrgb(81, 109, 210)
HSLhsl(227, 59%, 57%)
HSVhsv(227, 61%, 82%)
CMYKcmyk(61.4%, 48.1%, 0%, 17.6%)
CIE-LABlab(48.68, 21.00, -55.33)
CIE-LCHlch(48.68, 59.19, 290.78°)
OKLaboklab(56.53% -0.0022 -0.1583)
OKLCHoklch(56.53% 0.158 269.2)
XYZxyz(20.4909, 17.3380, 63.2270)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DD2 #D2B651
analogous
#51ADD2 #516DD2 #7651D2
triadic
#516DD2 #D2516D #6DD251
tetradic
#516DD2 #D251AD #D2B651 #51D276
square
#516DD2 #D251AD #D2B651 #51D276
split-complementary
#516DD2 #D27651 #ADD251
monochromatic
#233886 #2F4DB7 #516DD2 #8296DF #B2BFEB

Accessibility & contrast

On white

4.70
#516DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#516DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DD2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DD2#FFFFFF#000000##FFFFFF
##516DD21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#216ED0
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516dd2;
/* rgb */ color: rgb(81, 109, 210);
/* oklch */ color: oklch(56.5% 0.158 269.2);
Tailwind
colors: {
  custom: {
    50: '#8d96e0',
    500: '#516dd2',
    950: '#000000',
  },
}
SCSS
$custom: #516dd2;
$custom-light: #8d96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#516dd2",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 210
  },
  "hsl": {
    "h": 226.977,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.15829,
    "h": 269.2
  },
  "luminance": 0.1734
}

Semantic roles & 50–950 ramp

primary
#516DD2
secondary
#DACEA5
accent
#C046E2
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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