#516299#516299

#516299 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 50.7% C 0.090 H 269.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#516299
RGBrgb(81, 98, 153)
HSLhsl(226, 31%, 46%)
HSVhsv(226, 47%, 60%)
CMYKcmyk(47.1%, 35.9%, 0%, 40%)
CIE-LABlab(42.44, 9.06, -32.06)
CIE-LCHlch(42.44, 33.32, 285.77°)
OKLaboklab(50.7% -0.0001 -0.0902)
OKLCHoklch(50.7% 0.09 269.9)
XYZxyz(13.5090, 12.7838, 31.8865)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516299 #998851
analogous
#518699 #516299 #645199
triadic
#516299 #995162 #629951
tetradic
#516299 #995186 #998851 #519964
square
#516299 #995186 #998851 #519964
split-complementary
#516299 #996451 #869951
monochromatic
#272F49 #3C4871 #516299 #7382B5 #9BA6CA

Accessibility & contrast

On white

5.90
#516299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#516299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516299
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516299#FFFFFF#000000##FFFFFF
##5162991.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E689B
Deuteranopia (green-blind)
#476198
Tritanopia (blue-blind)
#366D76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516299;
/* rgb */ color: rgb(81, 98, 153);
/* oklch */ color: oklch(50.7% 0.090 269.9);
Tailwind
colors: {
  custom: {
    50: '#868eb7',
    500: '#516299',
    950: '#000000',
  },
}
SCSS
$custom: #516299;
$custom-light: #868eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#516299",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 153
  },
  "hsl": {
    "h": 225.833,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50695,
    "c": 0.09021,
    "h": 269.9
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#516299
secondary
#B7AD8F
accent
#AF61C7
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516299

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

Preview Lab → · Contrast checker → · Palette generator →

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