#514B5A

A color in the Black, Gray, White family

#514b5a is a color in the Black, Gray, White family: RGB(81, 75, 90), HSL(264°, 9%, 32%), CMYK(10%, 17%, 0%, 65%). Closest named color: darkslategray. Contrast is 8.39:1 on white and 2.5:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b5a
RGBrgb(81 75 90)
RGB (legacy)rgb(81, 75, 90)
RGB %rgb(32% 29% 35%)
HSLhsl(264 9% 32%)
HSV / HSBhsv(264, 17%, 35%)
HWBhwb(264 29% 65%)
CMYKcmyk(10%, 17%, 0%, 65%)
CIELAB (D50)lab(32.91 5.07 -7.93)
LCHlch(32.91 9.41 302.57)
OKLaboklab(0.4243 0.0141 -0.0214)
OKLCHoklch(0.4243 0.0256 303.48)
Decimal5327706

Properties

Color ToneBlack, Gray, White
Closest named colordarkslategray ΔE 5.6
Closest web-safe color#663366
Hue264°
Saturation (HSL / HSV)9% / 17%
Lightness (HSL)32%
Brightness or Value (HSV)35%
Luminance (Rec.601 / Rec.709)31% / 30%
Relative luminance (WCAG)0.0752
Red / Green / Blue81 / 75 / 90

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.39:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.50:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 88.9 / -13.3 · As background with white / black text: Lc -93.5 / 15.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #514b5a;
  --color-brand-oklch: oklch(42.43% 0.0256 303.48);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 75 90 / 50%); }
/* Tailwind CSS */
<div class="bg-[#514b5a] text-[#514b5a] border-[#514b5a]">