Skip to content

#505A5E Color

#505A5E is rgb(80, 90, 94) in RGB, hsl(197, 8%, 34%) in HSL, and about cmyk(15%, 4%, 0%, 63%) in CMYK. It has no registered color name of its own — the closest is Iron Gray (#555D61), below the threshold most people can see at ΔE 1.65. White text is the more readable choice on this background.

#505A5E
HEX#505A5E
RGBrgb(80, 90, 94)
HSLhsl(197, 8%, 34%)
HSVhsv(197, 15%, 37%)
CMYKcmyk(15%, 4%, 0%, 63%)
OKLCHoklch(46% 0.014 223.8)
LABlab(37.47% -3.35 -3.72)
LCHlch(37.47% 5.00 227.97)

What #505A5E Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #505A5E, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every gray in the library.

#505A5E Channel Values

How #505A5E breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 80 · G 90 · B 948-bit channels as sent to the display
HSLH 197° · S 8% · L 34%Easiest model for building lighter and darker variants
HSVH 197° · S 15% · V 37%Matches the picker in most design tools
CMYKC 15% · M 4% · Y 0% · K 63%Approximate ink mix; confirm with an ICC profile before printing
Luminance7.08:1 vs white · 2.97:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #505A5E background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text7.08:1AA normal AA large AAA normal
Fails AABlack text2.97:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #505A5E in the contrast checker.

Colors That Go With #505A5E

Pairings derived from color-wheel relationships. The complementary color sits opposite #505A5E; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #505A5E

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #505A5E.

How #505A5E Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#505A5E
Protanopia#58585E
Protanomaly#55595E
Deuteranopia#57575E
Deuteranomaly#54585E
Tritanopia#4F5B5B
Tritanomaly#505A5C
Achromatopsia#585858

Test a full palette in the color blindness simulator.

Using #505A5E in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-505a5e: #505A5E;
CSS backgroundbackground-color: #505A5E;
Tailwind configcolors: { 'color-505a5e': '#505A5E' }
SwiftUIColor(red: 0.314, green: 0.353, blue: 0.369)
Android XML<color name="color_505a5e">#505A5E</color>
SVG fillfill="#505A5E"

More Gray Colors

#505A5E sits in the gray family. These are its neighbours across that family's full range, each with its own breakdown.

#505A5E Frequently Asked Questions

What color is #505A5E?

#505A5E is a dark gray — rgb(80, 90, 94) in RGB and hsl(197, 8%, 34%) in HSL. It carries no registered color name of its own; the closest named color is Iron Gray (#555D61), which is below the threshold most people can see at a CIE76 distance of 1.65.

What is the RGB value of #505A5E?

#505A5E is rgb(80, 90, 94) — red 80, green 90, and blue 94 on the 0-255 scale.

What is the CMYK value of #505A5E?

#505A5E converts to approximately cmyk(15%, 4%, 0%, 63%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #505A5E be black or white?

White text is the more readable choice. #505A5E scores 7.08:1 against white and 2.97:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #505A5E as a CSS color keyword?

No. #505A5E is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is dimgray (#696969) at a CIE76 distance of 8.56, which is clearly related but distinguishable side by side.

Open #505A5E in a Tool

Keep exploring: every gray in the color library, the guide to shades of gray, or the full color library.