#4D5A57 Dark Slate Gray
rgb(77, 90, 87)
Color conversions
- HEX
- #4D5A57
- RGB
- rgb(77, 90, 87)
- RGBA
- rgba(77, 90, 87, 1)
- HSL
- hsl(166, 8%, 33%)
- HSV / HSB
- hsv(166, 14%, 35%)
- CMYK
- cmyk(14%, 0%, 3%, 65%)
Wide-gamut spaces
- XYZ
- xyz(8.437, 9.578, 10.419)
- LAB
- lab(37.07 -5.73 0.03)
- LCH
- lch(37.07 5.73 179.72)
- OKLAB
- oklab(45.54% -0.0169 0)
- OKLCH
- oklch(45.54% 0.0169 180.05)
- 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
#4d5a571a
#4d5a5733
#4d5a574d
#4d5a5766
#4d5a5780
#4d5a5799
#4d5a57b3
#4d5a57cc
#4d5a57e6
#4d5a57ff
Accessibility and contrast
On white
7.2:1
Body text AAA · Large text AA
On black
2.92:1
Body text Fail · Large text Fail
White-on-color contrast is 7.2: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: #4d5a57;
--color-dark-slate-gray-rgb: 77 90 87;
--color-dark-slate-gray-hsl: 166 8% 33%;
--color-dark-slate-gray-oklch: 45.54% 0.0169 180.05;
}
.element {
color: #4d5a57;
background-color: hsl(166, 8%, 33%);
border: 1px solid rgb(77 90 87 / 40%);
}SCSS
$dark-slate-gray: #4d5a57;
$dark-slate-gray-light: #a6adab;
$dark-slate-gray-dark: #272d2c;
.element {
color: $dark-slate-gray;
background: rgba($dark-slate-gray, 0.12);
&:hover {
color: darken($dark-slate-gray, 8%);
}
}LESS
@dark-slate-gray: #4d5a57;
@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: #dbdedd;
--color-dark-slate-gray-100: #cacecd;
--color-dark-slate-gray-200: #b8bdbc;
--color-dark-slate-gray-300: #949c9a;
--color-dark-slate-gray-400: #717b79;
--color-dark-slate-gray-500: #4d5a57;
--color-dark-slate-gray-600: #45514e;
--color-dark-slate-gray-700: #363f3d;
--color-dark-slate-gray-800: #272d2c;
--color-dark-slate-gray-900: #171b1a;
}
/* 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-[#4d5a57]" />Bootstrap
// Bootstrap 5 — _variables.scss (before importing bootstrap)
$dark-slate-gray: #4d5a57;
$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(0xFF4D5A57);
// As a MaterialColor swatch
const MaterialColor darkSlateGraySwatch = MaterialColor(0xFF4D5A57, <int, Color>{
50: Color(0xFFDBDEDD),
100: Color(0xFFCACECD),
200: Color(0xFFB8BDBC),
300: Color(0xFF949C9A),
400: Color(0xFF717B79),
500: Color(0xFF4D5A57),
600: Color(0xFF45514E),
700: Color(0xFF363F3D),
800: Color(0xFF272D2C),
900: Color(0xFF171B1A),
});Swift / SwiftUI
import SwiftUI
extension Color {
/// #4d5a57 — Dark Slate Gray
static let darkSlateGray = Color(
red: 0.302,
green: 0.3529,
blue: 0.3412
)
}
// UIKit
extension UIColor {
static let darkSlateGray = UIColor(
red: 0.302,
green: 0.3529,
blue: 0.3412,
alpha: 1.0
)
}Android
<!-- res/values/colors.xml -->
<resources>
<color name="dark_slate_gray">#4D5A57</color>
<color name="dark_slate_gray_translucent">#804D5A57</color>
</resources>
<!-- Jetpack Compose -->
val DarkSlateGray = Color(0xFF4D5A57)JavaScript
export const DARK_SLATE_GRAY = {
hex: "#4d5a57",
rgb: [77, 90, 87],
hsl: [166, 8, 33],
oklch: "oklch(45.54% 0.0169 180.05)",
};JSON tokens
{
"$schema": "https://design-tokens.org/schema.json",
"dark-slate-gray": {
"$type": "color",
"$value": "#4d5a57",
"$description": "Dark Slate Gray — generated by ColorVerse AI"
}
}