#515686#515686

#515686 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.0% C 0.078 H 278.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#515686
RGBrgb(81, 86, 134)
HSLhsl(234, 25%, 42%)
HSVhsv(234, 40%, 53%)
CMYKcmyk(39.6%, 35.8%, 0%, 47.5%)
CIE-LABlab(38.07, 10.78, -27.47)
CIE-LCHlch(38.07, 29.51, 291.44°)
OKLaboklab(47.01% 0.0114 -0.0769)
OKLCHoklch(47.01% 0.078 278.4)
XYZxyz(11.0230, 10.1257, 23.9233)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515686 #868151
analogous
#517086 #515686 #675186
triadic
#515686 #865156 #568651
tetradic
#515686 #865170 #868151 #518667
square
#515686 #865170 #868151 #518667
split-complementary
#515686 #866751 #708651
monochromatic
#23253A #3A3E60 #515686 #6D73A7 #9397BE

Accessibility & contrast

On white

6.94
#515686 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#515686 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515686
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515686#FFFFFF#000000##FFFFFF
##5156861.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C88
Deuteranopia (green-blind)
#435885
Tritanopia (blue-blind)
#415F68
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #515686;
/* rgb */ color: rgb(81, 86, 134);
/* oklch */ color: oklch(47.0% 0.078 278.4);
Tailwind
colors: {
  custom: {
    50: '#8485a9',
    500: '#515686',
    950: '#000000',
  },
}
SCSS
$custom: #515686;
$custom-light: #8485a9;
$custom-dark: #000000;
JSON
{
  "hex": "#515686",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 234.34,
    "s": 24.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47012,
    "c": 0.07775,
    "h": 278.4
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

primary
#515686
secondary
#ABA888
accent
#B967C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #515686

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

Preview Lab → · Contrast checker → · Palette generator →

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