#516296#516296

#516296 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.5% C 0.086 H 269.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#516296
RGBrgb(81, 98, 150)
HSLhsl(225, 30%, 45%)
HSVhsv(225, 46%, 59%)
CMYKcmyk(46%, 34.7%, 0%, 41.2%)
CIE-LABlab(42.29, 8.12, -30.51)
CIE-LCHlch(42.29, 31.57, 284.90°)
OKLaboklab(50.53% -0.0009 -0.0857)
OKLCHoklch(50.53% 0.086 269.4)
XYZxyz(13.2643, 12.6860, 30.5980)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516296 #968551
analogous
#518596 #516296 #625196
triadic
#516296 #965162 #629651
tetradic
#516296 #965185 #968551 #519662
square
#516296 #965185 #968551 #519662
split-complementary
#516296 #966251 #859651
monochromatic
#262E47 #3C486E #516296 #7282B3 #99A5C8

Accessibility & contrast

On white

5.94
#516296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#516296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516296
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516296#FFFFFF#000000##FFFFFF
##5162961.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6798
Deuteranopia (green-blind)
#496195
Tritanopia (blue-blind)
#386D75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516296;
/* rgb */ color: rgb(81, 98, 150);
/* oklch */ color: oklch(50.5% 0.086 269.4);
Tailwind
colors: {
  custom: {
    50: '#858eb5',
    500: '#516296',
    950: '#000000',
  },
}
SCSS
$custom: #516296;
$custom-light: #858eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#516296",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 150
  },
  "hsl": {
    "h": 225.217,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5053,
    "c": 0.0857,
    "h": 269.4
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#516296
secondary
#B5AB8E
accent
#AD62C6
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516296

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

Preview Lab → · Contrast checker → · Palette generator →

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