#516293#516293

#516293 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.4% C 0.081 H 268.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#516293
RGBrgb(81, 98, 147)
HSLhsl(225, 29%, 45%)
HSVhsv(225, 45%, 58%)
CMYKcmyk(44.9%, 33.3%, 0%, 42.4%)
CIE-LABlab(42.14, 7.18, -28.94)
CIE-LCHlch(42.14, 29.82, 283.94°)
OKLaboklab(50.37% -0.0017 -0.0812)
OKLCHoklch(50.37% 0.081 268.8)
XYZxyz(13.0258, 12.5906, 29.3420)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516293 #938251
analogous
#518393 #516293 #615193
triadic
#516293 #935162 #629351
tetradic
#516293 #935183 #938251 #519361
square
#516293 #935183 #938251 #519361
split-complementary
#516293 #936151 #839351
monochromatic
#262D44 #3B486C #516293 #7181B1 #98A4C6

Accessibility & contrast

On white

5.97
#516293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#516293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516293
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516293#FFFFFF#000000##FFFFFF
##5162931.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516795
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#3A6C74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516293;
/* rgb */ color: rgb(81, 98, 147);
/* oklch */ color: oklch(50.4% 0.081 268.8);
Tailwind
colors: {
  custom: {
    50: '#858eb3',
    500: '#516293',
    950: '#000000',
  },
}
SCSS
$custom: #516293;
$custom-light: #858eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#516293",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 147
  },
  "hsl": {
    "h": 224.545,
    "s": 28.947,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50369,
    "c": 0.08118,
    "h": 268.8
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#516293
secondary
#B3A98D
accent
#AC63C5
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516293

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

Preview Lab → · Contrast checker → · Palette generator →

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