#516DC9#516DC9

#516DC9 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.9% C 0.146 H 268.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#516DC9
RGBrgb(81, 109, 201)
HSLhsl(226, 53%, 55%)
HSVhsv(226, 60%, 79%)
CMYKcmyk(59.7%, 45.8%, 0%, 21.2%)
CIE-LABlab(48.14, 17.95, -51.07)
CIE-LCHlch(48.14, 54.13, 289.36°)
OKLaboklab(55.94% -0.0035 -0.1457)
OKLCHoklch(55.94% 0.146 268.6)
XYZxyz(19.4010, 16.9021, 57.4871)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DC9 #C9AD51
analogous
#51A9C9 #516DC9 #7151C9
triadic
#516DC9 #C9516D #6DC951
tetradic
#516DC9 #C951A9 #C9AD51 #51C971
square
#516DC9 #C951A9 #C9AD51 #51C971
split-complementary
#516DC9 #C97151 #A9C951
monochromatic
#26397A #344FA9 #516DC9 #8094D7 #AEBBE6

Accessibility & contrast

On white

4.79
#516DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#516DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DC9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DC9#FFFFFF#000000##FFFFFF
##516DC91.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4278CC
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516dc9;
/* rgb */ color: rgb(81, 109, 201);
/* oklch */ color: oklch(55.9% 0.146 268.6);
Tailwind
colors: {
  custom: {
    50: '#8c96da',
    500: '#516dc9',
    950: '#000000',
  },
}
SCSS
$custom: #516dc9;
$custom-light: #8c96da;
$custom-dark: #000000;
JSON
{
  "hex": "#516dc9",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 201
  },
  "hsl": {
    "h": 226,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.14576,
    "h": 268.6
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

primary
#516DC9
secondary
#D4C8A2
accent
#BA4CDC
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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