#516EC1#516EC1

#516EC1 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.6% C 0.133 H 267.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#516EC1
RGBrgb(81, 110, 193)
HSLhsl(224, 47%, 54%)
HSVhsv(224, 58%, 76%)
CMYKcmyk(58%, 43%, 0%, 24.3%)
CIE-LABlab(47.94, 14.63, -46.78)
CIE-LCHlch(47.94, 49.01, 287.36°)
OKLaboklab(55.64% -0.0059 -0.1331)
OKLCHoklch(55.64% 0.133 267.5)
XYZxyz(18.5917, 16.7500, 52.6951)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EC1 #C1A451
analogous
#51A6C1 #516EC1 #6C51C1
triadic
#516EC1 #C1516E #6EC151
tetradic
#516EC1 #C151A6 #C1A451 #51C16C
square
#516EC1 #C151A6 #C1A451 #51C16C
split-complementary
#516EC1 #C16C51 #A6C151
monochromatic
#283A70 #38529D #516EC1 #7E94D1 #ABB9E1

Accessibility & contrast

On white

4.83
#516EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#516EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EC1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EC1#FFFFFF#000000##FFFFFF
##516EC11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4977C4
Deuteranopia (green-blind)
#3A6DBF
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516ec1;
/* rgb */ color: rgb(81, 110, 193);
/* oklch */ color: oklch(55.6% 0.133 267.5);
Tailwind
colors: {
  custom: {
    50: '#8b97d4',
    500: '#516ec1',
    950: '#000000',
  },
}
SCSS
$custom: #516ec1;
$custom-light: #8b97d4;
$custom-dark: #000000;
JSON
{
  "hex": "#516ec1",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 193
  },
  "hsl": {
    "h": 224.464,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55639,
    "c": 0.13324,
    "h": 267.5
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#516EC1
secondary
#CFC29F
accent
#B451D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #516EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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