#515D8D#515D8D

#515D8D is a mid, moderate blue. Relative luminance 0.115; OKLCH L 48.9% C 0.079 H 272.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#515D8D
RGBrgb(81, 93, 141)
HSLhsl(228, 27%, 44%)
HSVhsv(228, 43%, 55%)
CMYKcmyk(42.6%, 34%, 0%, 44.7%)
CIE-LABlab(40.41, 8.47, -28.04)
CIE-LCHlch(40.41, 29.29, 286.81°)
OKLaboklab(48.93% 0.0034 -0.0786)
OKLCHoklch(48.93% 0.079 272.5)
XYZxyz(12.1139, 11.5005, 26.7757)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D8D #8D8151
analogous
#517B8D #515D8D #63518D
triadic
#515D8D #8D515D #5D8D51
tetradic
#515D8D #8D517B #8D8151 #518D63
square
#515D8D #8D517B #8D8151 #518D63
split-complementary
#515D8D #8D6351 #7B8D51
monochromatic
#242A3F #3B4366 #515D8D #6F7BAC #969FC3

Accessibility & contrast

On white

6.36
#515D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#515D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515D8D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D8D#FFFFFF#000000##FFFFFF
##515D8D1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C628F
Deuteranopia (green-blind)
#475D8C
Tritanopia (blue-blind)
#3D676E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #515d8d;
/* rgb */ color: rgb(81, 93, 141);
/* oklch */ color: oklch(48.9% 0.079 272.5);
Tailwind
colors: {
  custom: {
    50: '#848aae',
    500: '#515d8d',
    950: '#000000',
  },
}
SCSS
$custom: #515d8d;
$custom-light: #848aae;
$custom-dark: #000000;
JSON
{
  "hex": "#515d8d",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 228,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48934,
    "c": 0.07864,
    "h": 272.5
  },
  "luminance": 0.11501
}

Semantic roles & 50–950 ramp

primary
#515D8D
secondary
#AFA88A
accent
#B064C3
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #515D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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