#515985#515985

#515985 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.6% C 0.072 H 275.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#515985
RGBrgb(81, 89, 133)
HSLhsl(231, 24%, 42%)
HSVhsv(231, 39%, 52%)
CMYKcmyk(39.1%, 33.1%, 0%, 47.8%)
CIE-LABlab(38.88, 8.58, -25.59)
CIE-LCHlch(38.88, 26.99, 288.54°)
OKLaboklab(47.62% 0.0068 -0.0715)
OKLCHoklch(47.62% 0.072 275.4)
XYZxyz(11.1981, 10.5871, 23.6392)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515985 #857D51
analogous
#517385 #515985 #635185
triadic
#515985 #855159 #598551
tetradic
#515985 #855173 #857D51 #518563
square
#515985 #855173 #857D51 #518563
split-complementary
#515985 #856351 #738551
monochromatic
#232639 #3A405F #515985 #6D76A6 #939ABD

Accessibility & contrast

On white

6.74
#515985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#515985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515985
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515985#FFFFFF#000000##FFFFFF
##5159851.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E87
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#426269
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #515985;
/* rgb */ color: rgb(81, 89, 133);
/* oklch */ color: oklch(47.6% 0.072 275.4);
Tailwind
colors: {
  custom: {
    50: '#8487a8',
    500: '#515985',
    950: '#000000',
  },
}
SCSS
$custom: #515985;
$custom-light: #8487a8;
$custom-dark: #000000;
JSON
{
  "hex": "#515985",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 133
  },
  "hsl": {
    "h": 230.769,
    "s": 24.299,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.07181,
    "h": 275.4
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#515985
secondary
#AAA588
accent
#B367C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #515985

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

Preview Lab → · Contrast checker → · Palette generator →

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