#516CC1#516CC1

#516CC1 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.2% C 0.136 H 268.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#516CC1
RGBrgb(81, 108, 193)
HSLhsl(226, 47%, 54%)
HSVhsv(226, 58%, 76%)
CMYKcmyk(58%, 44%, 0%, 24.3%)
CIE-LABlab(47.40, 15.87, -47.65)
CIE-LCHlch(47.40, 50.22, 288.42°)
OKLaboklab(55.22% -0.0037 -0.1357)
OKLCHoklch(55.22% 0.136 268.4)
XYZxyz(18.3783, 16.3233, 52.6240)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CC1 #C1A651
analogous
#51A4C1 #516CC1 #6E51C1
triadic
#516CC1 #C1516C #6CC151
tetradic
#516CC1 #C151A4 #C1A651 #51C16E
square
#516CC1 #C151A4 #C1A651 #51C16E
split-complementary
#516CC1 #C16E51 #A4C151
monochromatic
#283970 #38509D #516CC1 #7E92D1 #ABB8E1

Accessibility & contrast

On white

4.92
#516CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#516CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CC1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CC1#FFFFFF#000000##FFFFFF
##516CC11.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4676C4
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516cc1;
/* rgb */ color: rgb(81, 108, 193);
/* oklch */ color: oklch(55.2% 0.136 268.4);
Tailwind
colors: {
  custom: {
    50: '#8b95d4',
    500: '#516cc1',
    950: '#000000',
  },
}
SCSS
$custom: #516cc1;
$custom-light: #8b95d4;
$custom-dark: #000000;
JSON
{
  "hex": "#516cc1",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 193
  },
  "hsl": {
    "h": 225.536,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.13575,
    "h": 268.4
  },
  "luminance": 0.16325
}

Semantic roles & 50–950 ramp

primary
#516CC1
secondary
#CFC39F
accent
#B751D7
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #516CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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