#515372#515372

#515372 is a mid, muted blue. Relative luminance 0.092; OKLCH L 45.3% C 0.051 H 281.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#515372
RGBrgb(81, 83, 114)
HSLhsl(236, 17%, 38%)
HSVhsv(236, 29%, 45%)
CMYKcmyk(28.9%, 27.2%, 0%, 55.3%)
CIE-LABlab(36.27, 6.92, -17.95)
CIE-LCHlch(36.27, 19.24, 291.07°)
OKLaboklab(45.32% 0.0099 -0.0496)
OKLCHoklch(45.32% 0.051 281.3)
XYZxyz(9.5231, 9.1505, 17.1808)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515372 #727051
analogous
#516372 #515372 #5F5172
triadic
#515372 #725153 #537251
tetradic
#515372 #725163 #727051 #51725F
square
#515372 #725163 #727051 #51725F
split-complementary
#515372 #725F51 #637251
monochromatic
#1E1F2A #38394E #515372 #6B6D96 #8E90AF

Accessibility & contrast

On white

7.42
#515372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#515372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515372
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515372#FFFFFF#000000##FFFFFF
##5153721.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#49595E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #515372;
/* rgb */ color: rgb(81, 83, 114);
/* oklch */ color: oklch(45.3% 0.051 281.3);
Tailwind
colors: {
  custom: {
    50: '#82839a',
    500: '#515372',
    950: '#000000',
  },
}
SCSS
$custom: #515372;
$custom-light: #82839a;
$custom-dark: #000000;
JSON
{
  "hex": "#515372",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 114
  },
  "hsl": {
    "h": 236.364,
    "s": 16.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.05055,
    "h": 281.3
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#515372
secondary
#9D9B82
accent
#B56EBA
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #515372

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

Preview Lab → · Contrast checker → · Palette generator →

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