#516CC2#516CC2

#516CC2 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.3% C 0.137 H 268.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#516CC2
RGBrgb(81, 108, 194)
HSLhsl(226, 48%, 54%)
HSVhsv(226, 58%, 76%)
CMYKcmyk(58.2%, 44.3%, 0%, 23.9%)
CIE-LABlab(47.45, 16.21, -48.13)
CIE-LCHlch(47.45, 50.79, 288.61°)
OKLaboklab(55.28% -0.0035 -0.1371)
OKLCHoklch(55.28% 0.137 268.5)
XYZxyz(18.4902, 16.3680, 53.2134)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CC2 #C2A751
analogous
#51A5C2 #516CC2 #6F51C2
triadic
#516CC2 #C2516C #6CC251
tetradic
#516CC2 #C251A5 #C2A751 #51C26F
square
#516CC2 #C251A5 #C2A751 #51C26F
split-complementary
#516CC2 #C26F51 #A5C251
monochromatic
#283971 #37509E #516CC2 #7E92D2 #ACB9E2

Accessibility & contrast

On white

4.91
#516CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#516CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CC2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CC2#FFFFFF#000000##FFFFFF
##516CC21.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4576C5
Deuteranopia (green-blind)
#366CC0
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516cc2;
/* rgb */ color: rgb(81, 108, 194);
/* oklch */ color: oklch(55.3% 0.137 268.5);
Tailwind
colors: {
  custom: {
    50: '#8b95d5',
    500: '#516cc2',
    950: '#000000',
  },
}
SCSS
$custom: #516cc2;
$custom-light: #8b95d5;
$custom-dark: #000000;
JSON
{
  "hex": "#516cc2",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 225.664,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.13716,
    "h": 268.5
  },
  "luminance": 0.16369
}

Semantic roles & 50–950 ramp

primary
#516CC2
secondary
#D0C49F
accent
#B750D8
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #516CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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