#515784#515784

#515784 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.1% C 0.073 H 277.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#515784
RGBrgb(81, 87, 132)
HSLhsl(233, 24%, 42%)
HSVhsv(233, 39%, 52%)
CMYKcmyk(38.6%, 34.1%, 0%, 48.2%)
CIE-LABlab(38.25, 9.55, -25.95)
CIE-LCHlch(38.25, 27.65, 290.20°)
OKLaboklab(47.12% 0.0094 -0.0725)
OKLCHoklch(47.12% 0.073 277.4)
XYZxyz(10.9652, 10.2312, 23.2224)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515784 #847E51
analogous
#517184 #515784 #655184
triadic
#515784 #845157 #578451
tetradic
#515784 #845171 #847E51 #518465
square
#515784 #845171 #847E51 #518465
split-complementary
#515784 #846551 #718451
monochromatic
#222538 #3A3E5E #515784 #6D74A5 #9398BD

Accessibility & contrast

On white

6.89
#515784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#515784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515784
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515784#FFFFFF#000000##FFFFFF
##5157841.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485C86
Deuteranopia (green-blind)
#455883
Tritanopia (blue-blind)
#426067
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #515784;
/* rgb */ color: rgb(81, 87, 132);
/* oklch */ color: oklch(47.1% 0.073 277.4);
Tailwind
colors: {
  custom: {
    50: '#8486a8',
    500: '#515784',
    950: '#000000',
  },
}
SCSS
$custom: #515784;
$custom-light: #8486a8;
$custom-dark: #000000;
JSON
{
  "hex": "#515784",
  "rgb": {
    "r": 81,
    "g": 87,
    "b": 132
  },
  "hsl": {
    "h": 232.941,
    "s": 23.944,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47124,
    "c": 0.07314,
    "h": 277.4
  },
  "luminance": 0.10232
}

Semantic roles & 50–950 ramp

primary
#515784
secondary
#AAA687
accent
#B667C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #515784

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

Preview Lab → · Contrast checker → · Palette generator →

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