#516FC5#516FC5

#516FC5 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.1% C 0.138 H 267.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#516FC5
RGBrgb(81, 111, 197)
HSLhsl(224, 50%, 55%)
HSVhsv(224, 59%, 77%)
CMYKcmyk(58.9%, 43.7%, 0%, 22.7%)
CIE-LABlab(48.45, 15.35, -48.28)
CIE-LCHlch(48.45, 50.66, 287.64°)
OKLaboklab(56.1% -0.0062 -0.1375)
OKLCHoklch(56.1% 0.138 267.4)
XYZxyz(19.1524, 17.1479, 55.1131)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FC5 #C5A751
analogous
#51A9C5 #516FC5 #6D51C5
triadic
#516FC5 #C5516F #6FC551
tetradic
#516FC5 #C551A9 #C5A751 #51C56D
square
#516FC5 #C551A9 #C5A751 #51C56D
split-complementary
#516FC5 #C56D51 #A9C551
monochromatic
#273B75 #3652A3 #516FC5 #7F95D4 #ADBBE4

Accessibility & contrast

On white

4.74
#516FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#516FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FC5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FC5#FFFFFF#000000##FFFFFF
##516FC51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4879C8
Deuteranopia (green-blind)
#386EC3
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516fc5;
/* rgb */ color: rgb(81, 111, 197);
/* oklch */ color: oklch(56.1% 0.138 267.4);
Tailwind
colors: {
  custom: {
    50: '#8b97d7',
    500: '#516fc5',
    950: '#000000',
  },
}
SCSS
$custom: #516fc5;
$custom-light: #8b97d7;
$custom-dark: #000000;
JSON
{
  "hex": "#516fc5",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 197
  },
  "hsl": {
    "h": 224.483,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56098,
    "c": 0.13764,
    "h": 267.4
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#516FC5
secondary
#D1C5A0
accent
#B64EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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