Color #04391F Color / Colour Code #04391F

    This page shows the hex color code for color #04391f (#04391F). The colour is a cyan tone with 87% saturation and 12% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #04391F

    Color Conversions

    HEX
    #04391F
    RGB
    rgb(4, 57, 31)
    HSL
    hsl(151, 87%, 12%)
    HSV
    hsv(151, 93%, 22%)
    CMYK
    cmyk(93%, 0%, 46%, 78%)

    Accessibility Contrast

    WCAG contrast ratios for #04391F against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    13.04:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.61:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    11.24:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #04391F paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 121, 151, and 181 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 151, 271, and 31 degrees.

    Color Palettes Using #04391F

    Monochromatic Scale

    Five shades at lightness levels 15% through 85% while keeping hue at 151 and saturation at 87%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.

    #054827 #0A8F4F #11EE83 #70F5B5 #B7FADA
    Warm Harmony

    Adjacent hues from 151 to 196 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.

    #30E88F #30E8BD #30E5E8 #30B7E8
    Cool Contrast

    Combines the base color at hue 151 with its complement at 331 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.

    #26D982 #D9267D #D92926 #D98226
    Pastel Variation

    Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.

    #B8E0CD #B8CBE0 #CDB8E0 #E0B8CB #E0CDB8

    Shades & Tints of #04391F

    Lightness variations at hue 151 and 87% saturation.

    CSS Gradients with #04391F

    Cyan to Pink
    linear-gradient(135deg, #04391f, #39041e)
    Analogous Fade
    linear-gradient(90deg, #04391f, #043839)
    Deep to Light
    linear-gradient(180deg, #06562f, #a9f9d2)
    Tricolor Sweep
    linear-gradient(135deg, #04391f, #1f0439, #391f04)

    Design Use Cases for #04391F

    High-Impact Accent

    With 87% saturation, #04391F is highly vivid. Reserve this for elements that need maximum attention: primary action buttons, notification badges, error states, or promotional banners. Use sparingly alongside neutral tones to avoid visual fatigue.

    Dark Mode Background

    At just 12% lightness, #04391F works as a dark mode background or overlay color. Dark backgrounds reduce eye strain in low-light environments and make bright accent colors pop. Pair with light text (minimum 4.5:1 contrast ratio) for readability.

    Clarity & Technology

    #04391F is in the cyan spectrum (hue 151). Cyan evokes technology, clarity, and innovation. It works well for tech product interfaces, data visualization accents, loading indicators, and futuristic design themes. Cyan provides a modern alternative to traditional blues.

    Gradient Pairing

    Create a gradient from #04391F (hue 151) to its complement at hue 331. For a subtler effect, try pairing with an analogous color at hue 181. Use CSS: background: linear-gradient(135deg, #04391f, #39041e);

    CSS Code for #04391F

    /* Background */
    background-color: #04391f;
    background-color: rgb(4, 57, 31);
    background-color: hsl(151, 87%, 12%);
    /* Text */
    color: #04391f;
    /* Border */
    border: 2px solid #04391f;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(4, 57, 31, 0.3);
    /* CSS Variable */
    --color-primary: 151 87% 12%;

    Similar Colors

    Colors visually similar to #04391F based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #04391F across image editing and color design tools.

    About Color #04391F (#04391F)

    #04391F is a cyan color (colour) with RGB channel values of 4 red, 57 green, and 31 blue. The green channel is dominant by a ratio of 14.3:1 over the weakest channel. In HSL terms, the hue sits at 151 degrees with 87% saturation and 12% lightness, placing it in the neutral-to-cool range of the colour spectrum.

    The perceived brightness of #04391F is 38/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This appears dark to the human eye, so pair it with light text for adequate readability. For print production, the CMYK equivalent is 93% cyan, 0% magenta, 46% yellow, and 78% key (black).

    The WCAG contrast ratio of #04391F against white is 13.04:1 and against black is 1.61:1. This exceeds the AAA requirement (7:1) for normal text on white, making it excellent for body text and small UI labels on light backgrounds.

    The complementary colour #39041E creates maximum visual tension when paired with #04391F. For more harmonious color combinations, use the analogous colours #043905 and #043839, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.

    How to Explore Color #04391F

    1. Enter your color value in HEX format.
    2. The tool converts it to RGB, HSL, CMYK format in real time.
    3. Copy the converted value to your clipboard.

    Color Converter · Contrast Checker

    What is HEX to RGB, HSL, CMYK color conversion

    Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).

    Related Tools & Colors

    Frequently Asked Questions

    What color / colour is #04391F?
    #04391F is Color #04391F, a cyan color (colour) with RGB(4, 57, 31), HSL(151, 87%, 12%), and CMYK(93%, 0%, 46%, 78%). Its perceived brightness is 38/255.
    Is #04391F accessible for text?
    Against white, #04391F has a contrast ratio of 13.04:1 (passes AA for normal text). Against black, it has 1.61:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #04391F?
    The complementary colour is #39041E (hue 331). For subtle color combinations, use analogous colours #043905 and #043839. The triadic palette adds #1F0439 and #391F04 for vibrant variety.
    How do I use #04391F in CSS?
    Use any format: color: #04391f; or rgb(4, 57, 31); or hsl(151, 87%, 12%). For CSS custom properties: --color-primary: 151 87% 12%; then use it as hsl(var(--color-primary)).
    Is this color / colour explorer free?
    Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.