#2C3A47 Onyx
#2C3A47 is Onyx.
#2C3A47
Onyx
What are the RGB, HSL, OKLCH and CMYK values of #2C3A47?
- HEX
- #2C3A47
- RGB
- rgb(44, 58, 71)
- HSL
- hsl(209, 23%, 23%)
- OKLCH
- oklch(34.2% 0.029 247)
- CMYK
- 38, 18, 0, 72
#2C3A47 has a contrast ratio of 11.65:1 against white and 1.80: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 → | #2C3A47 |
|---|---|
| #2C3A47 | Same color |
| White | 11.6AAA |
| Near-black | 1.5Fail |
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 #2C3A47 · 11.6:1
Tints and shades of #2C3A47
Same hue and chroma in OKLCH, lighter to darker.
Colors that go with #2C3A47
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. Charcoal Blue, #3C3C60 and Gunmetal, #233938 become hard to tell apart — don't rely on color alone to separate them.
Export
Copy-paste code, or download the swatches.
:root {
--onyx-1: #2C3A47; /* Onyx */
}Palettes, gradients and meshes with #2C3A47
Items using this color or one perceptually close to it, closest first.
Palettes (66)
- Night Shift
- Slate Studio
- Flamingo Pool
- Kazoku no aka
- Nordic Morning
- Teal Typewriter
- Porcelain Blue
- Peppermint Bark
- Polar Night
- Obsidian Gold
- Sorbet Stand
- Digital Matcha
- Coastal Cottage
- Desert Bloom
- Bioluminescence
- Harbor Fog
- Evergreen Lodge
- Thistle Moor
- Forest Floor
- Sage Apothecary
- Royal Navy Crest
- Butter Green
- Oatmilk Studio
- Sunset Boulevard
- Heather Tweed
- Lavender Laundry
- Tropical Punch
- Wildflower Field
- Turquoise Tile
- Concrete Gallery
- Rust Belt
- Ink Wash
- Cherry Chrome
- Violet Family
- Morning Dew
- Cobalt Pottery
- Seafoam Linen
- Tidepool
- Lagoon Postcard
- Electric Lime
- Aqua Studio
- Rain City Neon
- Mint Ledger
- Deep Sea Data
- Alpine Lake
- Blush Ballet
- Steel Harbour
- Dusty Rose Atelier
- Reef Snorkel
- Pale Jade Spa
- Mauve Gallery
- Brunch Club
- Kiwi Smoothie
- Rosewood Library
- Pistachio Gelato
- Cacao Nib
- Fern Gully
- Moonlit Orchid