#516FC2#516FC2

#516FC2 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.9% C 0.133 H 267.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#516FC2
RGBrgb(81, 111, 194)
HSLhsl(224, 48%, 54%)
HSVhsv(224, 58%, 76%)
CMYKcmyk(58.2%, 42.8%, 0%, 23.9%)
CIE-LABlab(48.27, 14.34, -46.82)
CIE-LCHlch(48.27, 48.97, 287.03°)
OKLaboklab(55.91% -0.0068 -0.1332)
OKLCHoklch(55.91% 0.133 267.1)
XYZxyz(18.8121, 17.0117, 53.3207)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FC2 #C2A451
analogous
#51A8C2 #516FC2 #6C51C2
triadic
#516FC2 #C2516F #6FC251
tetradic
#516FC2 #C251A8 #C2A451 #51C26C
square
#516FC2 #C251A8 #C2A451 #51C26C
split-complementary
#516FC2 #C26C51 #A8C251
monochromatic
#283B71 #37539E #516FC2 #7E95D2 #ACBAE2

Accessibility & contrast

On white

4.77
#516FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#516FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FC2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FC2#FFFFFF#000000##FFFFFF
##516FC21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#3B6EC0
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516fc2;
/* rgb */ color: rgb(81, 111, 194);
/* oklch */ color: oklch(55.9% 0.133 267.1);
Tailwind
colors: {
  custom: {
    50: '#8b97d5',
    500: '#516fc2',
    950: '#000000',
  },
}
SCSS
$custom: #516fc2;
$custom-light: #8b97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#516fc2",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 224.071,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.13341,
    "h": 267.1
  },
  "luminance": 0.17013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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