#516FC8#516FC8

#516FC8 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.3% C 0.142 H 267.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#516FC8
RGBrgb(81, 111, 200)
HSLhsl(225, 52%, 55%)
HSVhsv(225, 60%, 78%)
CMYKcmyk(59.5%, 44.5%, 0%, 21.6%)
CIE-LABlab(48.62, 16.36, -49.72)
CIE-LCHlch(48.62, 52.34, 288.22°)
OKLaboklab(56.29% -0.0057 -0.1417)
OKLCHoklch(56.29% 0.142 267.7)
XYZxyz(19.4996, 17.2867, 56.9415)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FC8 #C8AA51
analogous
#51AAC8 #516FC8 #6F51C8
triadic
#516FC8 #C8516F #6FC851
tetradic
#516FC8 #C851AA #C8AA51 #51C86F
square
#516FC8 #C851AA #C8AA51 #51C86F
split-complementary
#516FC8 #C86F51 #AAC851
monochromatic
#263B79 #3552A7 #516FC8 #8095D7 #AEBCE5

Accessibility & contrast

On white

4.71
#516FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#516FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FC8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FC8#FFFFFF#000000##FFFFFF
##516FC81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4679CB
Deuteranopia (green-blind)
#356EC6
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516fc8;
/* rgb */ color: rgb(81, 111, 200);
/* oklch */ color: oklch(56.3% 0.142 267.7);
Tailwind
colors: {
  custom: {
    50: '#8c97d9',
    500: '#516fc8',
    950: '#000000',
  },
}
SCSS
$custom: #516fc8;
$custom-light: #8c97d9;
$custom-dark: #000000;
JSON
{
  "hex": "#516fc8",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 200
  },
  "hsl": {
    "h": 224.874,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56287,
    "c": 0.14186,
    "h": 267.7
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#516FC8
secondary
#D3C7A1
accent
#B74CDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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