#505C5B Dim Gray
rgb(80, 92, 91)
Color conversions
- HEX
- #505C5B
- RGB
- rgb(80, 92, 91)
- RGBA
- rgba(80, 92, 91, 1)
- HSL
- hsl(175, 7%, 34%)
- HSV / HSB
- hsv(175, 13%, 36%)
- CMYK
- cmyk(13%, 0%, 1%, 64%)
Wide-gamut spaces
- XYZ
- xyz(9.023, 10.115, 11.372)
- LAB
- lab(38.05 -4.87 -1)
- LCH
- lch(38.05 4.97 191.62)
- OKLAB
- oklab(46.41% -0.0148 -0.0027)
- OKLCH
- oklch(46.41% 0.015 190.54)
- Nearest name
- Dim Gray
Shades, tints and tones
Color harmonies
The hue directly opposite on the color wheel. Maximum contrast, ideal for a single accent against a dominant brand color.
Neighbouring hues that share a temperature. The safest harmony for calm, cohesive interfaces.
Three hues evenly spaced 120 degrees apart. Vibrant and balanced — use one as dominant and the other two sparingly.
The complement split into two adjacent hues. Nearly the contrast of complementary with noticeably less tension.
Four hues at 90-degree intervals. A rich set for illustration, data visualisation, and category coding.
Two complementary pairs offset by 60 degrees. Gives two warm and two cool options in one system.
Similar colors
Opacity variations
#505c5b1a
#505c5b33
#505c5b4d
#505c5b66
#505c5b80
#505c5b99
#505c5bb3
#505c5bcc
#505c5be6
#505c5bff
Accessibility and contrast
On white
6.95:1
Body text AA · Large text AA
On black
3.02:1
Body text AA Large · Large text AA
White-on-color contrast is 6.95:1.
Color blindness preview
Protanopia
No red cones — ~1% of men
Protanomaly
Reduced red sensitivity — ~1% of men
Deuteranopia
No green cones — ~1% of men
Deuteranomaly
Reduced green sensitivity — ~5% of men
Tritanopia
No blue cones — very rare
Tritanomaly
Reduced blue sensitivity — very rare
Achromatopsia
No color perception — ~1 in 30,000
Achromatomaly
Partial color perception — rare
Meaning, psychology and brand usage
The structural colour every interface actually runs on
Neutral grays carry no emotional charge, which is precisely their value: they let content and brand colour do the signalling. Their temperature matters more than designers expect — a cool gray beside a warm brand colour reads as a mistake.
Neutrality, professionalism, and precision. Overuse reads as noncommittal or unfinished.
Payne's gray, mixed rather than mined, became the painter's shortcut for atmospheric shadow. Swiss modernism turned systematic gray scales into a design methodology.
Build a full gray ramp before choosing a brand colour. Match the gray's temperature to the brand hue and reserve the darkest steps for type rather than large fills.
Common industries: Enterprise, Architecture, Automotive, Consulting, Hardware. Pairs well with a single saturated accent, warm white for text surfaces, near-black for hierarchy.
Code exports
CSS
:root {
--color-dim-gray: #505c5b;
--color-dim-gray-rgb: 80 92 91;
--color-dim-gray-hsl: 175 7% 34%;
--color-dim-gray-oklch: 46.41% 0.015 190.54;
}
.element {
color: #505c5b;
background-color: hsl(175, 7%, 34%);
border: 1px solid rgb(80 92 91 / 40%);
}SCSS
$dim-gray: #505c5b;
$dim-gray-light: #a8aead;
$dim-gray-dark: #282e2e;
.element {
color: $dim-gray;
background: rgba($dim-gray, 0.12);
&:hover {
color: darken($dim-gray, 8%);
}
}LESS
@dim-gray: #505c5b;
@dim-gray-light: lighten(@dim-gray, 12%);
@dim-gray-dark: darken(@dim-gray, 12%);
.element {
color: @dim-gray;
background: fade(@dim-gray, 12%);
}Tailwind CSS
/* Tailwind v4 — src/styles.css */
@theme {
--color-dim-gray-50: #dcdede;
--color-dim-gray-100: #cbcece;
--color-dim-gray-200: #b9bebd;
--color-dim-gray-300: #969d9d;
--color-dim-gray-400: #737d7c;
--color-dim-gray-500: #505c5b;
--color-dim-gray-600: #485352;
--color-dim-gray-700: #384040;
--color-dim-gray-800: #282e2e;
--color-dim-gray-900: #181c1b;
}
/* Usage */
<div class="bg-dim-gray-500 text-dim-gray-50 ring-dim-gray-600" />
/* Arbitrary value, no config needed */
<div class="bg-[#505c5b]" />Bootstrap
// Bootstrap 5 — _variables.scss (before importing bootstrap)
$dim-gray: #505c5b;
$primary: $dim-gray;
$theme-colors: map-merge($theme-colors, (
"dim-gray": $dim-gray
));
// Generates .text-dim-gray, .bg-dim-gray, .btn-dim-gray
@import "bootstrap/scss/bootstrap";Flutter
import 'package:flutter/material.dart';
const Color dimGray = Color(0xFF505C5B);
// As a MaterialColor swatch
const MaterialColor dimGraySwatch = MaterialColor(0xFF505C5B, <int, Color>{
50: Color(0xFFDCDEDE),
100: Color(0xFFCBCECE),
200: Color(0xFFB9BEBD),
300: Color(0xFF969D9D),
400: Color(0xFF737D7C),
500: Color(0xFF505C5B),
600: Color(0xFF485352),
700: Color(0xFF384040),
800: Color(0xFF282E2E),
900: Color(0xFF181C1B),
});Swift / SwiftUI
import SwiftUI
extension Color {
/// #505c5b — Dim Gray
static let dimGray = Color(
red: 0.3137,
green: 0.3608,
blue: 0.3569
)
}
// UIKit
extension UIColor {
static let dimGray = UIColor(
red: 0.3137,
green: 0.3608,
blue: 0.3569,
alpha: 1.0
)
}Android
<!-- res/values/colors.xml -->
<resources>
<color name="dim_gray">#505C5B</color>
<color name="dim_gray_translucent">#80505C5B</color>
</resources>
<!-- Jetpack Compose -->
val DimGray = Color(0xFF505C5B)JavaScript
export const DIM_GRAY = {
hex: "#505c5b",
rgb: [80, 92, 91],
hsl: [175, 7, 34],
oklch: "oklch(46.41% 0.015 190.54)",
};JSON tokens
{
"$schema": "https://design-tokens.org/schema.json",
"dim-gray": {
"$type": "color",
"$value": "#505c5b",
"$description": "Dim Gray — generated by ColorVerse AI"
}
}