Color #2A288D Color / Colour Code #2A288D

    This page shows the hex color code for color #2a288d (#2A288D). The colour is a blue tone with 56% saturation and 35% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #2A288D

    Color Conversions

    HEX
    #2A288D
    RGB
    rgb(42, 40, 141)
    HSL
    hsl(241, 56%, 35%)
    HSV
    hsv(241, 72%, 55%)
    CMYK
    cmyk(70%, 72%, 0%, 45%)

    Accessibility Contrast

    WCAG contrast ratios for #2A288D against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    11.75:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.79:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    10.13:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #2A288D paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 211, 241, and 271 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 241, 1, and 121 degrees.

    Color Palettes Using #2A288D

    Monochromatic Scale

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

    #12113C #232277 #3A38C7 #8988DD #C4C3EE
    Warm Harmony

    Adjacent hues from 241 to 286 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.

    #4E4CCD #6E4CCD #8E4CCD #AF4CCD
    Cool Contrast

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

    #3A38C7 #C5C738 #7DC738 #38C73A
    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.

    #B8B8E0 #E0B8E0 #E0B8B8 #E0E0B8 #B8E0B8

    Shades & Tints of #2A288D

    Lightness variations at hue 241 and 56% saturation.

    CSS Gradients with #2A288D

    Blue to Yellow
    linear-gradient(135deg, #2a288d, #8a8b27)
    Analogous Fade
    linear-gradient(90deg, #2a288d, #5b278b)
    Deep to Light
    linear-gradient(180deg, #151448, #b8b7eb)
    Tricolor Sweep
    linear-gradient(135deg, #29278b, #8b2927, #278b29)

    Design Use Cases for #2A288D

    Balanced UI Color

    At 56% saturation, #2A288D 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.

    Primary Interface Color

    At 35% lightness, #2A288D is in the mid-range, making it ideal for interactive elements like buttons, links, and selected states. This lightness level ensures good contrast against both light and dark adjacent elements in most layouts.

    Trust & Professional Identity

    #2A288D sits in the blue range (hue 241). 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 #2A288D (hue 241) to its complement at hue 61. For a subtler effect, try pairing with an analogous color at hue 271. Use CSS: background: linear-gradient(135deg, #2a288d, #8a8b27);

    CSS Code for #2A288D

    /* Background */
    background-color: #2a288d;
    background-color: rgb(42, 40, 141);
    background-color: hsl(241, 56%, 35%);
    /* Text */
    color: #2a288d;
    /* Border */
    border: 2px solid #2a288d;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(42, 40, 141, 0.3);
    /* CSS Variable */
    --color-primary: 241 56% 35%;

    Similar Colors

    Colors visually similar to #2A288D based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #2A288D across image editing and color design tools.

    About Color #2A288D (#2A288D)

    #2A288D is a blue color (colour) with RGB channel values of 42 red, 40 green, and 141 blue. The blue channel is dominant by a ratio of 3.5:1 over the weakest channel. In HSL terms, the hue sits at 241 degrees with 56% saturation and 35% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #2A288D is 52/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 70% cyan, 72% magenta, 0% yellow, and 45% key (black).

    The WCAG contrast ratio of #2A288D against white is 11.75:1 and against black is 1.79: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 #8A8B27 creates maximum visual tension when paired with #2A288D. For more harmonious color combinations, use the analogous colours #27588B and #5B278B, 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 #2A288D

    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 #2A288D?
    #2A288D is Color #2A288D, a blue color (colour) with RGB(42, 40, 141), HSL(241, 56%, 35%), and CMYK(70%, 72%, 0%, 45%). Its perceived brightness is 52/255.
    Is #2A288D accessible for text?
    Against white, #2A288D has a contrast ratio of 11.75:1 (passes AA for normal text). Against black, it has 1.79:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #2A288D?
    The complementary colour is #8A8B27 (hue 61). For subtle color combinations, use analogous colours #27588B and #5B278B. The triadic palette adds #8B2927 and #278B29 for vibrant variety.
    How do I use #2A288D in CSS?
    Use any format: color: #2a288d; or rgb(42, 40, 141); or hsl(241, 56%, 35%). For CSS custom properties: --color-primary: 241 56% 35%; 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.