Color #4240BF Color / Colour Code #4240BF

    This page shows the hex color code for color #4240bf (#4240BF). The colour is a blue tone with 50% saturation and 50% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #4240BF

    Color Conversions

    HEX
    #4240BF
    RGB
    rgb(66, 64, 191)
    HSL
    hsl(241, 50%, 50%)
    HSV
    hsv(241, 66%, 75%)
    CMYK
    cmyk(65%, 66%, 0%, 25%)

    Accessibility Contrast

    WCAG contrast ratios for #4240BF against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    7.73:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    2.72:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    6.66:1
    AA PassAA Large PassAAA Fail

    Complementary Colors

    #4240BF 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 #4240BF

    Monochromatic Scale

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

    #141339 #282673 #4240BF #8E8CD9 #C6C6EC
    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.

    #5553C6 #7153C6 #8E53C6 #AB53C6
    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.

    #4240BF #BDBF40 #7DBF40 #40BF42
    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 #4240BF

    Lightness variations at hue 241 and 50% saturation.

    CSS Gradients with #4240BF

    Blue to Yellow
    linear-gradient(135deg, #4240bf, #bdbf40)
    Analogous Fade
    linear-gradient(90deg, #4240bf, #8240bf)
    Deep to Light
    linear-gradient(180deg, #181745, #bbbae8)
    Tricolor Sweep
    linear-gradient(135deg, #4240bf, #bf4240, #40bf42)

    Design Use Cases for #4240BF

    Balanced UI Color

    At 50% saturation, #4240BF 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.

    Soft Accent & Highlight

    With 50% lightness, #4240BF has a softer, more approachable quality. It works well for hover states, subtle highlights, progress indicators, and secondary UI elements. This lightness range is particularly effective for tag backgrounds and status indicators.

    Trust & Professional Identity

    #4240BF 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 #4240BF (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, #4240bf, #bdbf40);

    CSS Code for #4240BF

    /* Background */
    background-color: #4240bf;
    background-color: rgb(66, 64, 191);
    background-color: hsl(241, 50%, 50%);
    /* Text */
    color: #4240bf;
    /* Border */
    border: 2px solid #4240bf;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(66, 64, 191, 0.3);
    /* CSS Variable */
    --color-primary: 241 50% 50%;

    Similar Colors

    Colors visually similar to #4240BF based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #4240BF across image editing and color design tools.

    About Color #4240BF (#4240BF)

    #4240BF is a blue color (colour) with RGB channel values of 66 red, 64 green, and 191 blue. The blue channel is dominant by a ratio of 3.0:1 over the weakest channel. In HSL terms, the hue sits at 241 degrees with 50% saturation and 50% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #4240BF is 79/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 65% cyan, 66% magenta, 0% yellow, and 25% key (black).

    The WCAG contrast ratio of #4240BF against white is 7.73:1 and against black is 2.72: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 #BDBF40 creates maximum visual tension when paired with #4240BF. For more harmonious color combinations, use the analogous colours #407DBF and #8240BF, 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 #4240BF

    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 #4240BF?
    #4240BF is Color #4240BF, a blue color (colour) with RGB(66, 64, 191), HSL(241, 50%, 50%), and CMYK(65%, 66%, 0%, 25%). Its perceived brightness is 79/255.
    Is #4240BF accessible for text?
    Against white, #4240BF has a contrast ratio of 7.73:1 (passes AA for normal text). Against black, it has 2.72:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #4240BF?
    The complementary colour is #BDBF40 (hue 61). For subtle color combinations, use analogous colours #407DBF and #8240BF. The triadic palette adds #BF4240 and #40BF42 for vibrant variety.
    How do I use #4240BF in CSS?
    Use any format: color: #4240bf; or rgb(66, 64, 191); or hsl(241, 50%, 50%). For CSS custom properties: --color-primary: 241 50% 50%; 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.