#516EC2#516EC2

#516EC2 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.7% C 0.135 H 267.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#516EC2
RGBrgb(81, 110, 194)
HSLhsl(225, 48%, 54%)
HSVhsv(225, 58%, 76%)
CMYKcmyk(58.2%, 43.3%, 0%, 23.9%)
CIE-LABlab(48.00, 14.96, -47.26)
CIE-LCHlch(48.00, 49.57, 287.57°)
OKLaboklab(55.7% -0.0057 -0.1345)
OKLCHoklch(55.7% 0.135 267.6)
XYZxyz(18.7036, 16.7947, 53.2846)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EC2 #C2A551
analogous
#51A7C2 #516EC2 #6D51C2
triadic
#516EC2 #C2516E #6EC251
tetradic
#516EC2 #C251A7 #C2A551 #51C26D
square
#516EC2 #C251A7 #C2A551 #51C26D
split-complementary
#516EC2 #C26D51 #A7C251
monochromatic
#283A71 #37529E #516EC2 #7E94D2 #ACBAE2

Accessibility & contrast

On white

4.82
#516EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#516EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EC2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EC2#FFFFFF#000000##FFFFFF
##516EC21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4977C5
Deuteranopia (green-blind)
#396DC0
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516ec2;
/* rgb */ color: rgb(81, 110, 194);
/* oklch */ color: oklch(55.7% 0.135 267.6);
Tailwind
colors: {
  custom: {
    50: '#8b97d5',
    500: '#516ec2',
    950: '#000000',
  },
}
SCSS
$custom: #516ec2;
$custom-light: #8b97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#516ec2",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 224.602,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.13466,
    "h": 267.6
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#516EC2
secondary
#D0C39F
accent
#B550D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #516EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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