#515C8D#515C8D

#515C8D is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.7% C 0.080 H 273.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#515C8D
RGBrgb(81, 92, 141)
HSLhsl(229, 27%, 44%)
HSVhsv(229, 43%, 55%)
CMYKcmyk(42.6%, 34.8%, 0%, 44.7%)
CIE-LABlab(40.12, 9.10, -28.49)
CIE-LCHlch(40.12, 29.91, 287.72°)
OKLaboklab(48.71% 0.0048 -0.0799)
OKLCHoklch(48.71% 0.08 273.4)
XYZxyz(12.0267, 11.3261, 26.7466)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C8D #8D8251
analogous
#517A8D #515C8D #64518D
triadic
#515C8D #8D515C #5C8D51
tetradic
#515C8D #8D517A #8D8251 #518D64
square
#515C8D #8D517A #8D8251 #518D64
split-complementary
#515C8D #8D6451 #7A8D51
monochromatic
#24293F #3B4366 #515C8D #6F7AAC #969EC3

Accessibility & contrast

On white

6.43
#515C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#515C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515C8D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515C8D#FFFFFF#000000##FFFFFF
##515C8D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#3E666E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #515c8d;
/* rgb */ color: rgb(81, 92, 141);
/* oklch */ color: oklch(48.7% 0.080 273.4);
Tailwind
colors: {
  custom: {
    50: '#848aae',
    500: '#515c8d',
    950: '#000000',
  },
}
SCSS
$custom: #515c8d;
$custom-light: #848aae;
$custom-dark: #000000;
JSON
{
  "hex": "#515c8d",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 229,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48713,
    "c": 0.08001,
    "h": 273.4
  },
  "luminance": 0.11327
}

Semantic roles & 50–950 ramp

primary
#515C8D
secondary
#AFA98A
accent
#B264C3
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #515C8D

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

Preview Lab → · Contrast checker → · Palette generator →

#515C8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva