Color #1E173E Color / Colour Code #1E173E

    This page shows the hex color code for color #1e173e (#1E173E). The colour is a blue tone with 46% saturation and 17% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #1E173E

    Color Conversions

    HEX
    #1E173E
    RGB
    rgb(30, 23, 62)
    HSL
    hsl(251, 46%, 17%)
    HSV
    hsv(251, 63%, 24%)
    CMYK
    cmyk(52%, 63%, 0%, 76%)

    Accessibility Contrast

    WCAG contrast ratios for #1E173E against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    16.84:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.25:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    14.51:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #1E173E paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 221, 251, and 281 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 251, 11, and 131 degrees.

    Color Palettes Using #1E173E

    Monochromatic Scale

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

    #1B1538 #362970 #5A45BA #9C8FD6 #CEC7EA
    Warm Harmony

    Adjacent hues from 251 to 296 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.

    #6B57C1 #8557C1 #A057C1 #BA57C1
    Cool Contrast

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

    #5A45BA #A5BA45 #6ABA45 #45BA5A
    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.

    #BFB8E0 #E0B8D9 #E0BFB8 #D9E0B8 #B8E0BF

    Shades & Tints of #1E173E

    Lightness variations at hue 251 and 46% saturation.

    CSS Gradients with #1E173E

    Blue to Yellow
    linear-gradient(135deg, #1e173e, #383f17)
    Analogous Fade
    linear-gradient(90deg, #1e173e, #33173f)
    Deep to Light
    linear-gradient(180deg, #211943, #c4bce6)
    Tricolor Sweep
    linear-gradient(135deg, #1f173f, #3f1f17, #173f1f)

    Design Use Cases for #1E173E

    Balanced UI Color

    At 46% saturation, #1E173E strikes a balance between vibrancy and restraint. This makes it versatile for primary UI elements like navigation bars, card headers, and form accents. It draws attention without overwhelming adjacent content.

    Deep Accent & Text Color

    #1E173E at 17% lightness is dark enough for readable body text on light backgrounds while retaining its blue character. Use for headings, emphasized text, or deep accent borders. It provides contrast without the harshness of pure black.

    Trust & Professional Identity

    #1E173E sits in the blue range (hue 251). Blue is the world's most popular color for corporate identities because it conveys trust, stability, and competence. Use it for navigation bars, link text, form focus states, and any element where user confidence matters. Financial, healthcare, and technology brands rely heavily on this hue range.

    Gradient Pairing

    Create a gradient from #1E173E (hue 251) to its complement at hue 71. For a subtler effect, try pairing with an analogous color at hue 281. Use CSS: background: linear-gradient(135deg, #1e173e, #383f17);

    CSS Code for #1E173E

    /* Background */
    background-color: #1e173e;
    background-color: rgb(30, 23, 62);
    background-color: hsl(251, 46%, 17%);
    /* Text */
    color: #1e173e;
    /* Border */
    border: 2px solid #1e173e;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(30, 23, 62, 0.3);
    /* CSS Variable */
    --color-primary: 251 46% 17%;

    Similar Colors

    Colors visually similar to #1E173E based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #1E173E across image editing and color design tools.

    About Color #1E173E (#1E173E)

    #1E173E is a blue color (colour) with RGB channel values of 30 red, 23 green, and 62 blue. The blue channel is dominant by a ratio of 2.7:1 over the weakest channel. In HSL terms, the hue sits at 251 degrees with 46% saturation and 17% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #1E173E is 30/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 52% cyan, 63% magenta, 0% yellow, and 76% key (black).

    The WCAG contrast ratio of #1E173E against white is 16.84:1 and against black is 1.25: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 #383F17 creates maximum visual tension when paired with #1E173E. For more harmonious color combinations, use the analogous colours #17243F and #33173F, 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 #1E173E

    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 #1E173E?
    #1E173E is Color #1E173E, a blue color (colour) with RGB(30, 23, 62), HSL(251, 46%, 17%), and CMYK(52%, 63%, 0%, 76%). Its perceived brightness is 30/255.
    Is #1E173E accessible for text?
    Against white, #1E173E has a contrast ratio of 16.84:1 (passes AA for normal text). Against black, it has 1.25:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #1E173E?
    The complementary colour is #383F17 (hue 71). For subtle color combinations, use analogous colours #17243F and #33173F. The triadic palette adds #3F1F17 and #173F1F for vibrant variety.
    How do I use #1E173E in CSS?
    Use any format: color: #1e173e; or rgb(30, 23, 62); or hsl(251, 46%, 17%). For CSS custom properties: --color-primary: 251 46% 17%; 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.