Color #4018CD Color / Colour Code #4018CD

    This page shows the hex color code for color #4018cd (#4018CD). The colour is a blue tone with 79% saturation and 45% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #4018CD

    Color Conversions

    HEX
    #4018CD
    RGB
    rgb(64, 24, 205)
    HSL
    hsl(253, 79%, 45%)
    HSV
    hsv(253, 88%, 80%)
    CMYK
    cmyk(69%, 88%, 0%, 20%)

    Accessibility Contrast

    WCAG contrast ratios for #4018CD against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    9.42:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    2.23:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    8.12:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #4018CD paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 223, 253, and 283 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 253, 13, and 133 degrees.

    Color Palettes Using #4018CD

    Monochromatic Scale

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

    #150844 #2A1089 #461BE4 #9076EF #C8BBF7
    Warm Harmony

    Adjacent hues from 253 to 298 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.

    #5932E7 #8632E7 #B432E7 #E132E7
    Cool Contrast

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

    #4D26D9 #B2D926 #59D926 #26D94D
    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.

    #C0B8E0 #E0B8D8 #E0C0B8 #D8E0B8 #B8E0C0

    Shades & Tints of #4018CD

    Lightness variations at hue 253 and 79% saturation.

    CSS Gradients with #4018CD

    Blue to Yellow
    linear-gradient(135deg, #4018cd, #a6cd18)
    Analogous Fade
    linear-gradient(90deg, #4018cd, #9a18cd)
    Deep to Light
    linear-gradient(180deg, #190a52, #bdadf5)
    Tricolor Sweep
    linear-gradient(135deg, #3f18cd, #cd3f18, #18cd3f)

    Design Use Cases for #4018CD

    Vibrant Brand Color

    #4018CD has a strong 79% saturation that makes it ideal for brand identity elements. Use it for logos, primary call-to-action buttons, hero section accents, and marketing materials where visual impact matters. This saturation level is eye-catching without being harsh.

    Primary Interface Color

    At 45% lightness, #4018CD 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

    #4018CD sits in the blue range (hue 253). 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 #4018CD (hue 253) to its complement at hue 73. For a subtler effect, try pairing with an analogous color at hue 283. Use CSS: background: linear-gradient(135deg, #4018cd, #a6cd18);

    CSS Code for #4018CD

    /* Background */
    background-color: #4018cd;
    background-color: rgb(64, 24, 205);
    background-color: hsl(253, 79%, 45%);
    /* Text */
    color: #4018cd;
    /* Border */
    border: 2px solid #4018cd;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(64, 24, 205, 0.3);
    /* CSS Variable */
    --color-primary: 253 79% 45%;

    Similar Colors

    Colors visually similar to #4018CD based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #4018CD across image editing and color design tools.

    About Color #4018CD (#4018CD)

    #4018CD is a blue color (colour) with RGB channel values of 64 red, 24 green, and 205 blue. The blue channel is dominant by a ratio of 8.5:1 over the weakest channel. In HSL terms, the hue sits at 253 degrees with 79% saturation and 45% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #4018CD is 57/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 69% cyan, 88% magenta, 0% yellow, and 20% key (black).

    The WCAG contrast ratio of #4018CD against white is 9.42:1 and against black is 2.23: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 #A6CD18 creates maximum visual tension when paired with #4018CD. For more harmonious color combinations, use the analogous colours #184BCD and #9A18CD, 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 #4018CD

    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 #4018CD?
    #4018CD is Color #4018CD, a blue color (colour) with RGB(64, 24, 205), HSL(253, 79%, 45%), and CMYK(69%, 88%, 0%, 20%). Its perceived brightness is 57/255.
    Is #4018CD accessible for text?
    Against white, #4018CD has a contrast ratio of 9.42:1 (passes AA for normal text). Against black, it has 2.23:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #4018CD?
    The complementary colour is #A6CD18 (hue 73). For subtle color combinations, use analogous colours #184BCD and #9A18CD. The triadic palette adds #CD3F18 and #18CD3F for vibrant variety.
    How do I use #4018CD in CSS?
    Use any format: color: #4018cd; or rgb(64, 24, 205); or hsl(253, 79%, 45%). For CSS custom properties: --color-primary: 253 79% 45%; 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.