Color #1C2840 Color / Colour Code #1C2840

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

    #1C2840

    Color Conversions

    HEX
    #1C2840
    RGB
    rgb(28, 40, 64)
    HSL
    hsl(220, 39%, 18%)
    HSV
    hsv(220, 56%, 25%)
    CMYK
    cmyk(56%, 38%, 0%, 75%)

    Accessibility Contrast

    WCAG contrast ratios for #1C2840 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    14.72:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.43:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    12.68:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

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

    Analogous Colors

    Hues at 190, 220, and 250 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 220, 340, and 100 degrees.

    Color Palettes Using #1C2840

    Monochromatic Scale

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

    #172135 #2F436A #4E6FB1 #95A9D0 #CAD4E8
    Warm Harmony

    Adjacent hues from 220 to 265 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.

    #5F7DB9 #5F67B9 #6E5FB9 #855FB9
    Cool Contrast

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

    #4E6FB1 #B1904E #A1B14E #6FB14E
    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.

    #B8C5E0 #D3B8E0 #E0B8C5 #E0D3B8 #C5E0B8

    Shades & Tints of #1C2840

    Lightness variations at hue 220 and 39% saturation.

    CSS Gradients with #1C2840

    Blue to Orange
    linear-gradient(135deg, #1c2840, #40341c)
    Analogous Fade
    linear-gradient(90deg, #1c2840, #221c40)
    Deep to Light
    linear-gradient(180deg, #1c2840, #bfcbe3)
    Tricolor Sweep
    linear-gradient(135deg, #1c2840, #401c28, #28401c)

    Design Use Cases for #1C2840

    Balanced UI Color

    At 39% saturation, #1C2840 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

    #1C2840 at 18% 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

    #1C2840 sits in the blue range (hue 220). 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 #1C2840 (hue 220) to its complement at hue 40. For a subtler effect, try pairing with an analogous color at hue 250. Use CSS: background: linear-gradient(135deg, #1c2840, #40341c);

    CSS Code for #1C2840

    /* Background */
    background-color: #1c2840;
    background-color: rgb(28, 40, 64);
    background-color: hsl(220, 39%, 18%);
    /* Text */
    color: #1c2840;
    /* Border */
    border: 2px solid #1c2840;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(28, 40, 64, 0.3);
    /* CSS Variable */
    --color-primary: 220 39% 18%;

    Similar Colors

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

    Use This Color in Design Tools

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

    About Color #1C2840 (#1C2840)

    #1C2840 is a blue color (colour) with RGB channel values of 28 red, 40 green, and 64 blue. The blue channel is dominant by a ratio of 2.3:1 over the weakest channel. In HSL terms, the hue sits at 220 degrees with 39% saturation and 18% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #1C2840 is 39/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 56% cyan, 38% magenta, 0% yellow, and 75% key (black).

    The WCAG contrast ratio of #1C2840 against white is 14.72:1 and against black is 1.43: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 #40341C creates maximum visual tension when paired with #1C2840. For more harmonious color combinations, use the analogous colours #1C3A40 and #221C40, 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 #1C2840

    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 #1C2840?
    #1C2840 is Color #1C2840, a blue color (colour) with RGB(28, 40, 64), HSL(220, 39%, 18%), and CMYK(56%, 38%, 0%, 75%). Its perceived brightness is 39/255.
    Is #1C2840 accessible for text?
    Against white, #1C2840 has a contrast ratio of 14.72:1 (passes AA for normal text). Against black, it has 1.43:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #1C2840?
    The complementary colour is #40341C (hue 40). For subtle color combinations, use analogous colours #1C3A40 and #221C40. The triadic palette adds #401C28 and #28401C for vibrant variety.
    How do I use #1C2840 in CSS?
    Use any format: color: #1c2840; or rgb(28, 40, 64); or hsl(220, 39%, 18%). For CSS custom properties: --color-primary: 220 39% 18%; 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.