#516EC8#516EC8

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

Color values

HEX#516EC8
RGBrgb(81, 110, 200)
HSLhsl(225, 52%, 55%)
HSVhsv(225, 60%, 78%)
CMYKcmyk(59.5%, 45%, 0%, 21.6%)
CIE-LABlab(48.35, 16.98, -50.16)
CIE-LCHlch(48.35, 52.95, 288.71°)
OKLaboklab(56.08% -0.0047 -0.143)
OKLCHoklch(56.08% 0.143 268.1)
XYZxyz(19.3911, 17.0697, 56.9053)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EC8 #C8AB51
analogous
#51AAC8 #516EC8 #6F51C8
triadic
#516EC8 #C8516E #6EC851
tetradic
#516EC8 #C851AA #C8AB51 #51C86F
square
#516EC8 #C851AA #C8AB51 #51C86F
split-complementary
#516EC8 #C86F51 #AAC851
monochromatic
#263A79 #3551A7 #516EC8 #8095D7 #AEBCE5

Accessibility & contrast

On white

4.76
#516EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#516EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EC8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EC8#FFFFFF#000000##FFFFFF
##516EC81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#336EC6
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516ec8;
/* rgb */ color: rgb(81, 110, 200);
/* oklch */ color: oklch(56.1% 0.143 268.1);
Tailwind
colors: {
  custom: {
    50: '#8c97d9',
    500: '#516ec8',
    950: '#000000',
  },
}
SCSS
$custom: #516ec8;
$custom-light: #8c97d9;
$custom-dark: #000000;
JSON
{
  "hex": "#516ec8",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 225.378,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5608,
    "c": 0.14311,
    "h": 268.1
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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