Closest web-safe match: #003333

Color Details and Palettes for #04241F

Details about the color Nightmare#04241F

Conversions, palettes, contrast & design ideas for this color.

Cyan family Cool WCAG ink: white
HEX #04241F RGB rgb(4, 36, 31) HSL hsl(171, 80%, 8%) CMYK cmyk(89%, 0%, 14%, 86%)

Color profile

About Color Hex #04241F

#04241F is a cool color from the Cyan family, closest in name to “Nightmare”. In RGB it is rgb(4, 36, 31); in HSL, hsl(171, 80%, 8%).

The color Nightmare, with hexadecimal code #04241f, is categorized under the cyan family—a cool, refreshing hue fundamental to CMYK printing. Cyan evokes clarity, focus, and digital innovation, appearing across tech interfaces and futuristic design systems. Additionally, it evokes emotions such as Power, Elegance, Formality, Mystery and Authority. Cyan or blue-green is associated with healing, water, and tranquility. It can symbolize communication and clarity in various cultures. With a high saturation of 80%, this color is intensely vivid—demanding attention and ideal for focal elements like buttons, banners, and brand marks. At only 8% lightness, this extremely dark shade approaches black, delivering maximum drama and contrast when paired with lighter elements. This color is ideal for designs that aim to express Power, Elegance, Formality, Mystery, or Authority. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

Key facts

RGB 4, 36, 31 red · green · blue HSL 171° 80% 8% hue · sat · light HSV 171° 89% 14% design-app pickers CMYK 89 0 14 86 print inks, % Luminance 0.014 0 dark → 1 light On black 1.28:1 ✕ AA contrast ratio On white 16.44:1 ✓ AA contrast ratio Web-safe #003333 closest web-safe Best text white ideal foreground Character Vivid cool · cyan family

The story of this color

History, Usage, Psychology & Design Ideas for #04241F

Nightmare (#04241F) belongs to the Cyan color family.

This deep, saturated shade conveys authority and richness. Deep tones are favored in luxury packaging, evening-event branding, and dark-mode interfaces where they provide dramatic contrast against lighter elements.

Historical Background

Cyan is one of the four foundational inks in CMYK printing, making it literally indispensable to modern publishing. The name derives from the Greek kyanos, meaning 'dark blue,' though the color we call cyan today is distinctly lighter. Ancient Egyptian blue—one of the earliest synthetic pigments (c. 2200 BC)—was close to cyan and used extensively in tomb paintings and pottery across the Nile Valley.

Design & Usage Tips

Cyan projects a high-tech, digital-forward identity and pairs naturally with white for clean interfaces or with magenta for vibrant contrast. It works well for SaaS products, data-visualization tools, and creative agencies. Use cyan sparingly on warm-toned palettes, as it can feel cold in those contexts.

Sitting on the cool side of the spectrum (hue 171°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. At 80% saturation, this is a highly vivid color that demands attention. Use it where maximum visual impact is needed—feature banners, accent buttons, and data-visualization highlights.

Psychological Impact

Cyan stimulates mental clarity, focus, and communication. It feels refreshing—like a splash of cool water—making it ideal for apps and services centered on productivity, learning, or wellness. Cyan also carries associations with futurism and digital innovation.

At just 8% lightness, this is an extremely dark shade that approaches black. It is best reserved for text, thin borders, or dramatic full-bleed backgrounds paired with light typography.

Creative Design Ideas

Build a dark-mode interface with cyan accent elements (buttons, links, progress indicators) on a charcoal background for a sleek developer-tool aesthetic. Use cyan-to-blue gradients in header sections for SaaS landing pages. In print, spot-color cyan on uncoated paper stock creates a tactile, modern feel.

Every format

#04241F Color Conversions

Every way to write Nightmare — one-tap copy on every format; tap on any card to learn what it is and when to use it.

12 formats
HEX Web
#04241F

Hexadecimal is the web’s universal color notation — two digits each for red, green and blue. Drop it straight into HTML, CSS or any design tool.

RGB Screen
rgb(4, 36, 31)

RGB is the additive Red-Green-Blue model every screen uses to emit light. The default choice for websites, apps and on-screen UI.

HSL Web
hsl(171, 80%, 8%)

HSL breaks a color into Hue, Saturation and Lightness — the most intuitive way to lighten, darken or mute a color in CSS.

HSV HSB Design
hsv(171, 89%, 14%)

HSV (also called HSB) maps Hue, Saturation and Value/Brightness. It is the model behind the color pickers in Photoshop, Figma and most design apps.

HWB CSS 4
hwb(171 2% 86%)

HWB blends a pure hue with Whiteness and Blackness — a painter-friendly model added in CSS Color 4 for quick tints and shades.

CMYK Print
cmyk(89%, 0%, 14%, 86%)

CMYK is the subtractive Cyan-Magenta-Yellow-Black ink model. Use these values when preparing artwork for a printer or commercial press.

OKLCH Modern
oklch(23.54% 0.038 180.55)

OKLCH is a modern, perceptually-uniform space (Lightness, Chroma, Hue). It powers smooth gradients and accessible palettes in today’s CSS.

OKLab Modern
oklab(23.54% -0.038 -0.000)

OKLab is the Cartesian form of OKLCH — ideal for blending and interpolating colors without the muddy midpoints older spaces produce.

CIELAB L*a*b* Perceptual
L: 11.87, a: -13.24, b: -0.06

CIELAB is a device-independent, perceptually-uniform space. It is the standard for measuring color difference (ΔE) and matching across devices.

LCH Perceptual
L: 11.87, C: 13.24, H: 180.25

LCH is CIELAB in cylindrical form — Lightness, Chroma and Hue — letting you adjust vividness and hue while staying perceptually even.

XYZ CIE Science
X: 0.93, Y: 1.39, Z: 1.52

CIE XYZ is the 1931 master space that underpins every other model here — the scientific bridge used to convert between color systems.

Decimal int Code
271391

The 24-bit integer value of the color — handy for databases, APIs, game engines and low-level graphics code.

Channel breakdown

RGB Color Percentages for #04241F

How much red, green and blue light mixes into Nightmare.

Red 4/255 5.6% Green 36/255 50.7% Blue 31/255 43.7%

Percentages show each channel's share of the total light (R + G + B) in Nightmare.

Ink coverage

CMYK Ink Levels & Print Guide for #04241F

Ink needed to reproduce Nightmare in four-color print. Heaviest ink: Cyan.

89% CYAN 0% MAGENTA 14% YELLOW 86% KEY

Print tip: treat these values as a starting point — final output depends on printer profile, paper stock and calibration.

Accessibility · WCAG

Luminance & Contrast for #04241F

How bright Nightmare is, and how far black and white text clear each WCAG bar.

Relative luminance 0.014
0 · dark1 · light

Contrast ratio · 1:1 → 21:1 (log scale)

Aa Black text 1.28:1 ✕ AA ✕ AAA ✕ Large
Aa White text 16.44:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #04241F

Copy-and-paste CSS for Nightmare — per-line copy, or grab the whole block.

nightmare.css
background-color: #04241F;
color: #04241F;
border: 2px solid #04241F;
background-color: rgb(4, 36, 31);
background-color: hsl(171, 80%, 8%);
--color: #04241F;

Shades · light to dark

#04241F Monochrome Palette

Lighter and darker steps of Nightmare — the color's full brightness range in one strip.

#E6E9E9
#C0C8C7
#9BA7A5
#758784
#4F6662
#2A4541
#04241F
#031F1A
#031916
#021411
#020E0C
#010908
#000403

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 180° apart

#04241F Complementary Palette

Two colors opposite on the wheel — maximum contrast for attention-grabbing accents.

#04241F
#250409

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · adjacent hues

#04241F Analogic Palette

Neighboring hues on the wheel — harmonious, calm combinations that feel unified.

#04241F
#041925
#042510
#040925
#092504
#100425
#192504

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 120° apart

#04241F Triadic Palette

Three colors evenly spaced on the wheel — vibrant and energetic, yet balanced.

#04241F
#200425
#252004

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 90° apart

#04241F Quad Palette

Four colors evenly spaced on the wheel (tetradic) — rich schemes with multiple accents.

#04241F
#100425
#250409
#192504

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Accessibility

Color Blindness Simulation for #04241F

How Nightmare reads across five kinds of color vision — a ✓ Friendly verdict means the color difference stays distinguishable for that vision type.

#04241F
#100E21
#121220
#062121
#1D1D1D
Normal vision full color Deuteranopia green weakness ✓ Friendly Protanopia red weakness ✓ Friendly Tritanopia blue-yellow weakness ✓ Friendly Achromatopsia total color blindness ✓ Friendly

The dot marks the original color. Hover any shade to copy its hex.

Harmony overview

Color Harmonies for #04241F

The lead color from each harmony scheme, side by side — a shortcut to the full palettes above.

#250409
#041925
#200425
#100425
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#04241F Nearby Colors

A step away in brightness, richness or shade — each still feels like the same color.

Elite Teal#113333
Black Stallion#001111
Everglade#224433
Cosmic Bit Flip#001100
Sunken Ship#002222
Sunken Ship#112222
Nightmare#112211
Pitch-Black Forests#003322

From the color-name library

Colors Similar to #04241F

The closest named colors to #04241F — same mood, each with its own character.

Nightmare#112211
Elite Teal#133337
Pitch-Black Forests#003322
Sunken Ship#10252A
Botanical Night#12403C
Black Box#0F282F
Cosmic Bit Flip#001000
Jedi Night#041108
Rich Black#004040
Aztec#293432
Blackn’t#020F03
Underworld#1E231C

Looking for more Cyan shades? Browse Cyan colors →

Inspiration

Explore Vibrant Images Featuring Nightmare (#04241f)

Curated Unsplash photos that carry the mood of Nightmare — hover any tile to download it or view the original.

Good to know

Frequently Asked Questions about #04241F

#04241F is a cool color from the Cyan family. Its closest matched name is “Nightmare”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(4, 36, 31); in HSL, hsl(171, 80%, 8%).
In RGB, #04241F is rgb(4, 36, 31); in HSL it is hsl(171, 80%, 8%); and in CMYK — the model used for print — it is cmyk(89%, 0%, 14%, 86%).
#04241F has a contrast ratio of 1.28:1 against black and 16.44:1 against white. For readability, white body text meets the WCAG AA threshold of 4.5:1 on it, while black does not.
The direct complement of #04241F is #250409 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #04241F in the palette sections above.