#4E5D52 Dark Slate Gray
rgb(78, 93, 82)
Color conversions
- HEX
- #4E5D52
- RGB
- rgb(78, 93, 82)
- RGBA
- rgba(78, 93, 82, 1)
- HSL
- hsl(136, 9%, 34%)
- HSV / HSB
- hsv(136, 16%, 36%)
- CMYK
- cmyk(16%, 0%, 12%, 64%)
Wide-gamut spaces
- XYZ
- xyz(8.579, 10.057, 9.47)
- LAB
- lab(37.95 -8.24 4.4)
- LCH
- lch(37.95 9.34 151.91)
- OKLAB
- oklab(46.2% -0.0229 0.0114)
- OKLCH
- oklch(46.2% 0.0256 153.51)
- Nearest name
- Dark Slate 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
#4e5d521a
#4e5d5233
#4e5d524d
#4e5d5266
#4e5d5280
#4e5d5299
#4e5d52b3
#4e5d52cc
#4e5d52e6
#4e5d52ff
Accessibility and contrast
On white
6.97:1
Body text AA · Large text AA
On black
3.01:1
Body text AA Large · Large text AA
White-on-color contrast is 6.97: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-dark-slate-gray: #4e5d52;
--color-dark-slate-gray-rgb: 78 93 82;
--color-dark-slate-gray-hsl: 136 9% 34%;
--color-dark-slate-gray-oklch: 46.2% 0.0256 153.51;
}
.element {
color: #4e5d52;
background-color: hsl(136, 9%, 34%);
border: 1px solid rgb(78 93 82 / 40%);
}SCSS
$dark-slate-gray: #4e5d52;
$dark-slate-gray-light: #a7aea9;
$dark-slate-gray-dark: #272f29;
.element {
color: $dark-slate-gray;
background: rgba($dark-slate-gray, 0.12);
&:hover {
color: darken($dark-slate-gray, 8%);
}
}LESS
@dark-slate-gray: #4e5d52;
@dark-slate-gray-light: lighten(@dark-slate-gray, 12%);
@dark-slate-gray-dark: darken(@dark-slate-gray, 12%);
.element {
color: @dark-slate-gray;
background: fade(@dark-slate-gray, 12%);
}Tailwind CSS
/* Tailwind v4 — src/styles.css */
@theme {
--color-dark-slate-gray-50: #dcdfdc;
--color-dark-slate-gray-100: #cacecb;
--color-dark-slate-gray-200: #b8beba;
--color-dark-slate-gray-300: #959e97;
--color-dark-slate-gray-400: #717d75;
--color-dark-slate-gray-500: #4e5d52;
--color-dark-slate-gray-600: #46544a;
--color-dark-slate-gray-700: #374139;
--color-dark-slate-gray-800: #272f29;
--color-dark-slate-gray-900: #171c19;
}
/* Usage */
<div class="bg-dark-slate-gray-500 text-dark-slate-gray-50 ring-dark-slate-gray-600" />
/* Arbitrary value, no config needed */
<div class="bg-[#4e5d52]" />Bootstrap
// Bootstrap 5 — _variables.scss (before importing bootstrap)
$dark-slate-gray: #4e5d52;
$primary: $dark-slate-gray;
$theme-colors: map-merge($theme-colors, (
"dark-slate-gray": $dark-slate-gray
));
// Generates .text-dark-slate-gray, .bg-dark-slate-gray, .btn-dark-slate-gray
@import "bootstrap/scss/bootstrap";Flutter
import 'package:flutter/material.dart';
const Color darkSlateGray = Color(0xFF4E5D52);
// As a MaterialColor swatch
const MaterialColor darkSlateGraySwatch = MaterialColor(0xFF4E5D52, <int, Color>{
50: Color(0xFFDCDFDC),
100: Color(0xFFCACECB),
200: Color(0xFFB8BEBA),
300: Color(0xFF959E97),
400: Color(0xFF717D75),
500: Color(0xFF4E5D52),
600: Color(0xFF46544A),
700: Color(0xFF374139),
800: Color(0xFF272F29),
900: Color(0xFF171C19),
});Swift / SwiftUI
import SwiftUI
extension Color {
/// #4e5d52 — Dark Slate Gray
static let darkSlateGray = Color(
red: 0.3059,
green: 0.3647,
blue: 0.3216
)
}
// UIKit
extension UIColor {
static let darkSlateGray = UIColor(
red: 0.3059,
green: 0.3647,
blue: 0.3216,
alpha: 1.0
)
}Android
<!-- res/values/colors.xml -->
<resources>
<color name="dark_slate_gray">#4E5D52</color>
<color name="dark_slate_gray_translucent">#804E5D52</color>
</resources>
<!-- Jetpack Compose -->
val DarkSlateGray = Color(0xFF4E5D52)JavaScript
export const DARK_SLATE_GRAY = {
hex: "#4e5d52",
rgb: [78, 93, 82],
hsl: [136, 9, 34],
oklch: "oklch(46.2% 0.0256 153.51)",
};JSON tokens
{
"$schema": "https://design-tokens.org/schema.json",
"dark-slate-gray": {
"$type": "color",
"$value": "#4e5d52",
"$description": "Dark Slate Gray — generated by ColorVerse AI"
}
}