#516294#516294

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

Color values

HEX#516294
RGBrgb(81, 98, 148)
HSLhsl(225, 29%, 45%)
HSVhsv(225, 45%, 58%)
CMYKcmyk(45.3%, 33.8%, 0%, 42%)
CIE-LABlab(42.19, 7.49, -29.46)
CIE-LCHlch(42.19, 30.40, 284.27°)
OKLaboklab(50.42% -0.0014 -0.0827)
OKLCHoklch(50.42% 0.083 269)
XYZxyz(13.1046, 12.6221, 29.7570)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516294 #948351
analogous
#518494 #516294 #615194
triadic
#516294 #945162 #629451
tetradic
#516294 #945184 #948351 #519461
square
#516294 #945184 #948351 #519461
split-complementary
#516294 #946151 #849451
monochromatic
#262E45 #3B486C #516294 #7181B1 #98A4C7

Accessibility & contrast

On white

5.96
#516294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516294
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516294#FFFFFF#000000##FFFFFF
##5162941.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506796
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#396C74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516294;
/* rgb */ color: rgb(81, 98, 148);
/* oklch */ color: oklch(50.4% 0.083 269.0);
Tailwind
colors: {
  custom: {
    50: '#858eb3',
    500: '#516294',
    950: '#000000',
  },
}
SCSS
$custom: #516294;
$custom-light: #858eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#516294",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 148
  },
  "hsl": {
    "h": 224.776,
    "s": 29.258,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.08268,
    "h": 269
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#516294
secondary
#B4AA8D
accent
#AC62C6
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516294

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

Preview Lab → · Contrast checker → · Palette generator →

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