#516291#516291

#516291 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.3% C 0.078 H 268.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#516291
RGBrgb(81, 98, 145)
HSLhsl(224, 28%, 44%)
HSVhsv(224, 44%, 57%)
CMYKcmyk(44.1%, 32.4%, 0%, 43.1%)
CIE-LABlab(42.04, 6.57, -27.89)
CIE-LCHlch(42.04, 28.66, 283.25°)
OKLaboklab(50.26% -0.0023 -0.0781)
OKLCHoklch(50.26% 0.078 268.3)
XYZxyz(12.8703, 12.5283, 28.5226)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516291 #918051
analogous
#518291 #516291 #605191
triadic
#516291 #915162 #629151
tetradic
#516291 #915182 #918051 #519160
square
#516291 #915182 #918051 #519160
split-complementary
#516291 #916051 #829151
monochromatic
#252D42 #3B476A #516291 #7081AF #97A3C5

Accessibility & contrast

On white

5.99
#516291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#516291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516291
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516291#FFFFFF#000000##FFFFFF
##5162911.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516693
Deuteranopia (green-blind)
#4B6190
Tritanopia (blue-blind)
#3B6C73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516291;
/* rgb */ color: rgb(81, 98, 145);
/* oklch */ color: oklch(50.3% 0.078 268.3);
Tailwind
colors: {
  custom: {
    50: '#858eb1',
    500: '#516291',
    950: '#000000',
  },
}
SCSS
$custom: #516291;
$custom-light: #858eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#516291",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 145
  },
  "hsl": {
    "h": 224.063,
    "s": 28.319,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50263,
    "c": 0.07816,
    "h": 268.3
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#516291
secondary
#B2A88C
accent
#AB63C5
background
#F8F8FA
surface
#EFF0F5
border
#CACBCF
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #516291

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

Preview Lab → · Contrast checker → · Palette generator →

#516291 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva