#516CC7#516CC7

#516CC7 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.6% C 0.144 H 268.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#516CC7
RGBrgb(81, 108, 199)
HSLhsl(226, 51%, 55%)
HSVhsv(226, 59%, 78%)
CMYKcmyk(59.3%, 45.7%, 0%, 22%)
CIE-LABlab(47.75, 17.89, -50.54)
CIE-LCHlch(47.75, 53.62, 289.50°)
OKLaboklab(55.6% -0.0027 -0.1442)
OKLCHoklch(55.6% 0.144 268.9)
XYZxyz(19.0612, 16.5964, 56.2207)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CC7 #C7AC51
analogous
#51A7C7 #516CC7 #7151C7
triadic
#516CC7 #C7516C #6CC751
tetradic
#516CC7 #C751A7 #C7AC51 #51C771
square
#516CC7 #C751A7 #C7AC51 #51C771
split-complementary
#516CC7 #C77151 #A7C751
monochromatic
#263977 #354FA6 #516CC7 #7F93D6 #AEBAE5

Accessibility & contrast

On white

4.86
#516CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#516CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CC7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CC7#FFFFFF#000000##FFFFFF
##516CC71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4177CA
Deuteranopia (green-blind)
#306CC5
Tritanopia (blue-blind)
#008090
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516cc7;
/* rgb */ color: rgb(81, 108, 199);
/* oklch */ color: oklch(55.6% 0.144 268.9);
Tailwind
colors: {
  custom: {
    50: '#8c95d8',
    500: '#516cc7',
    950: '#000000',
  },
}
SCSS
$custom: #516cc7;
$custom-light: #8c95d8;
$custom-dark: #000000;
JSON
{
  "hex": "#516cc7",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 199
  },
  "hsl": {
    "h": 226.271,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55602,
    "c": 0.14422,
    "h": 268.9
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

primary
#516CC7
secondary
#D3C7A1
accent
#BA4DDB
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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