#2A4C4E Dark Slate Gray
#2A4C4E is Dark Slate Gray.
#2A4C4E
Dark Slate Gray
What are the RGB, HSL, OKLCH and CMYK values of #2A4C4E?
- HEX
- #2A4C4E
- RGB
- rgb(42, 76, 78)
- HSL
- hsl(183, 30%, 24%)
- OKLCH
- oklch(39.2% 0.040 201)
- CMYK
- 46, 3, 0, 69
#2A4C4E has a contrast ratio of 9.37:1 against white and 2.24:1 against black, so white is the better background for text in this color and light text reads best on it.
Contrast checker
Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.
| Text ↓ / Bg → | #2A4C4E |
|---|---|
| #2A4C4E | Same color |
| White | 9.4AAA |
| Near-black | 1.9Fail |
AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only
Text that works on each color
- White on #2A4C4E · 9.4:1
Tints and shades of #2A4C4E
Same hue and chroma in OKLCH, lighter to darker.
Colors that go with #2A4C4E
Six harmony rules built from this color. Open any in the Studio.
- AnalogousNeighboring hues. Calm and cohesive, with little tension.
- ComplementaryOpposite hues. Maximum contrast — strong for accents.
- SplitA hue plus the two neighbors of its opposite. Contrast without the clash.
- TriadicThree evenly spaced hues. Vivid and balanced.
- TetradicFour hues in two complementary pairs. Rich, and easy to overuse.
- MonoOne hue across a range of lightness. Always harmonious.
Color blindness check
About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.
No green cones — the most common form. Dark Slate Gray, #2A4C4E and Black Olive, #203C22 become hard to tell apart — don't rely on color alone to separate them.
Export
Copy-paste code, or download the swatches.
:root {
--dark-slate-gray-1: #2A4C4E; /* Dark Slate Gray */
}Palettes, gradients and meshes with #2A4C4E
Items using this color or one perceptually close to it, closest first.
Palettes (43)
- Reef Snorkel
- Night Shift
- Slate Studio
- Forest Floor
- Turquoise Tile
- Salt Marsh
- Evergreen Lodge
- Steel Harbour
- Cherry Blossom Rain
- Pine Needle
- Moss & Stone
- Desert Bloom
- Coastal Grey
- Arctic Fox
- Brass & Ink
- Watermelon Slice
- Rust Belt
- Jade Pavilion
- Flamingo Pool
- Morning Dew
- Graphite Desk
- Opal Sky
- Seashell Cove
- Pacific Rim
- Blulette
- Butter Green
- Iceberg
- Pistachio Gelato
- Charcoal Sketch
- Cedar & Smoke
- Bioluminescence
- Electric Lime
- Kyoto Tea House
- Obsidian Gold
- Mint Ledger