#24393d
a deep, soft cyan · cool · closest name: Dark Slate Gray
At a glance
Every number on this page in one read: what #24393d is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #24393d |
| RGB | rgb(36, 57, 61) |
| HSL | hsl(190, 26%, 19%) |
| CMYK | cmyk(41%, 7%, 0%, 76%) |
| LAB | lab(22.4 -7.1 -5.1) |
| LCH | lch(22.4 8.8 215.9) |
| OKLCH | oklch(0.329 0.028 210.8) |
| Decimal | 2373949 |
| Display P3 | color(display-p3 0.141 0.224 0.239) |
Copy-ready code
/* CSS */
color: #24393d;
background-color: #24393d;
/* Tailwind (arbitrary) */
class="text-[#24393d] bg-[#24393d]"
/* SCSS */
$brand: #24393d;
/* SwiftUI */
Color(red: 0.141, green: 0.224, blue: 0.239)
/* Android */
Color.parseColor("#24393d")
/* Flutter */
Color(0xFF24393D)
/* Python / OpenCV (BGR) */
(61, 57, 36)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #24393d is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F6F8F9;
--brand-100: #EDF2F3;
--brand-200: #D6E3E5;
--brand-300: #B8D1D5;
--brand-400: #95BAC1;
--brand-500: #72A2AC;
--brand-600: #5B909A;
--brand-700: #4C7880;
--brand-800: #3D6067;
--brand-900: #2F474C;
--brand-950: #24393d;
--brand: #24393d;
--brand-ink: #ffffff;
}Colors that work with #24393d
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #24393d
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Charts, tags and secondary surfaces
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠Text on black or near-black surfaces
- ⚠Black text placed on it
- ⚠Thin strokes and 1px borders — they disappear on light UI
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #3D2824 | Directly opposite — maximum tension | |
| Analogous left | #243D34 | Neighbour, quieter | |
| Analogous right | #242C3D | Neighbour, quieter | |
| Split-complement 1 | #3D242C | Contrast without the clash | |
| Split-complement 2 | #3D3424 | Contrast without the clash | |
| Triadic 1 | #3D2439 | Even thirds — balanced and loud | |
| Triadic 2 | #393D24 | Even thirds — balanced and loud | |
| Tetradic | #34243D | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#24393d text on a black background
contrast 1.73:1
#24393d text on a white background
contrast 12.16:1
CSS3 live lab
The quick brown fox
color: #24393d;
background-color: #24393d;
Glowing headline
text-shadow: 2px 2px 8px #24393d;
Soft neon halo
text-shadow: 0 0 14px rgba(36, 57, 61, 0.45);
box-shadow: 0 12px 32px -8px rgba(36, 57, 61, 0.45);
border: 3px solid #24393d; background: linear-gradient(135deg, #24393d, #24283D);
Monochromatic scale
Palettes built from #24393d
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Gunmetal (#2a3439) — ΔE2000 4.9 away, with its history, psychology and brand usage.
#24393d in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#24393d, answered
What color is #24393d?
#24393d is a deep soft cyan, closest to Dark Slate Gray (ΔE2000 8). It sits at 190° on the hue wheel with 26% saturation and 19% lightness, which reads as cool.
What is the RGB value of #24393d?
rgb(36, 57, 61) — 36 red, 57 green and 61 blue out of 255, or 14.1% / 22.4% / 23.9% by channel.
Is #24393d a light or a dark color?
It is a dark color. Relative luminance is 0.0364 and perceived brightness is 20%, so white text on it reaches 12.16:1.
Should I use black or white text on #24393d?
White. It scores 12.16:1 against #24393d, versus 1.73:1 for black — AAA at any size.
What is the complementary color of #24393d?
#3D2824 sits directly opposite on the wheel. Softer options are the split-complements #3D242C and #3D3424, which give the same contrast with far less vibration.
What colors go well with #24393d?
For interface work: #F5F9F9 as the surface, #CCDDE1 for borders, #558790 for secondary text, #3F2225 as an accent and #2F4B50 for hover and pressed states. For a palette, the analogous pair #243D34 and #242C3D stays calm, while #3D2824 is the loudest partner.
What is #24393d in CMYK for printing?
cmyk(41%, 7%, 0%, 76%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #24393d warm or cool?
Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #243D38; nudged cooler, #23313E.