#516FC9#516FC9

#516FC9 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.4% C 0.143 H 267.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#516FC9
RGBrgb(81, 111, 201)
HSLhsl(225, 53%, 55%)
HSVhsv(225, 60%, 79%)
CMYKcmyk(59.7%, 44.8%, 0%, 21.2%)
CIE-LABlab(48.68, 16.70, -50.20)
CIE-LCHlch(48.68, 52.91, 288.40°)
OKLaboklab(56.35% -0.0056 -0.1431)
OKLCHoklch(56.35% 0.143 267.8)
XYZxyz(19.6168, 17.3336, 57.5590)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FC9 #C9AB51
analogous
#51ABC9 #516FC9 #6F51C9
triadic
#516FC9 #C9516F #6FC951
tetradic
#516FC9 #C951AB #C9AB51 #51C96F
square
#516FC9 #C951AB #C9AB51 #51C96F
split-complementary
#516FC9 #C96F51 #ABC951
monochromatic
#263B7A #3451A9 #516FC9 #8096D7 #AEBCE6

Accessibility & contrast

On white

4.70
#516FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#516FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FC9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FC9#FFFFFF#000000##FFFFFF
##516FC91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4579CC
Deuteranopia (green-blind)
#346FC7
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516fc9;
/* rgb */ color: rgb(81, 111, 201);
/* oklch */ color: oklch(56.4% 0.143 267.8);
Tailwind
colors: {
  custom: {
    50: '#8c97da',
    500: '#516fc9',
    950: '#000000',
  },
}
SCSS
$custom: #516fc9;
$custom-light: #8c97da;
$custom-dark: #000000;
JSON
{
  "hex": "#516fc9",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 201
  },
  "hsl": {
    "h": 225,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56351,
    "c": 0.14326,
    "h": 267.8
  },
  "luminance": 0.17335
}

Semantic roles & 50–950 ramp

primary
#516FC9
secondary
#D4C7A2
accent
#B84CDC
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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