Blue Color / Colour Code #4060BF

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

    #4060BF

    Color Conversions

    HEX
    #4060BF
    RGB
    rgb(64, 96, 191)
    HSL
    hsl(225, 50%, 50%)
    HSV
    hsv(225, 66%, 75%)
    CMYK
    cmyk(66%, 50%, 0%, 25%)

    Accessibility Contrast

    WCAG contrast ratios for #4060BF against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    5.76:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    3.64:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    4.97:1
    AA PassAA Large PassAAA Fail

    Complementary Colors

    #4060BF paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 195, 225, and 255 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 225, 345, and 105 degrees.

    Color Palettes Using #4060BF

    Monochromatic Scale

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

    #131D39 #263973 #4060BF #8C9FD9 #C6CFEC
    Warm Harmony

    Adjacent hues from 225 to 270 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.

    #5370C6 #5353C6 #7053C6 #8C53C6
    Cool Contrast

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

    #4060BF #BF9F40 #9FBF40 #60BF40
    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.

    #B8C2E0 #D6B8E0 #E0B8C2 #E0D6B8 #C2E0B8

    Shades & Tints of #4060BF

    Lightness variations at hue 225 and 50% saturation.

    CSS Gradients with #4060BF

    Blue to Yellow
    linear-gradient(135deg, #4060bf, #bf9f40)
    Analogous Fade
    linear-gradient(90deg, #4060bf, #6040bf)
    Deep to Light
    linear-gradient(180deg, #172245, #bac6e8)
    Tricolor Sweep
    linear-gradient(135deg, #4060bf, #bf4060, #60bf40)

    Design Use Cases for #4060BF

    Balanced UI Color

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

    #4060BF sits in the blue range (hue 225). 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 #4060BF (hue 225) to its complement at hue 45. For a subtler effect, try pairing with an analogous color at hue 255. Use CSS: background: linear-gradient(135deg, #4060bf, #bf9f40);

    CSS Code for #4060BF

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

    Similar Colors

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

    Use This Color in Design Tools

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

    About Blue (#4060BF)

    #4060BF is a blue color (colour) with RGB channel values of 64 red, 96 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 225 degrees with 50% saturation and 50% lightness, placing it in the cool range of the colour spectrum.

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

    The WCAG contrast ratio of #4060BF against white is 5.76:1 and against black is 3.64:1. This meets the AA requirement (4.5:1) for normal text on white. For AAA compliance, consider darkening to at least 35% lightness.

    The complementary colour #BF9F40 creates maximum visual tension when paired with #4060BF. For more harmonious color combinations, use the analogous colours #409FBF and #6040BF, 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 #4060BF

    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 #4060BF?
    #4060BF is Blue, a blue color (colour) with RGB(64, 96, 191), HSL(225, 50%, 50%), and CMYK(66%, 50%, 0%, 25%). Its perceived brightness is 97/255.
    Is #4060BF accessible for text?
    Against white, #4060BF has a contrast ratio of 5.76:1 (passes AA for normal text). Against black, it has 3.64:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #4060BF?
    The complementary colour is #BF9F40 (hue 45). For subtle color combinations, use analogous colours #409FBF and #6040BF. The triadic palette adds #BF4060 and #60BF40 for vibrant variety.
    How do I use #4060BF in CSS?
    Use any format: color: #4060bf; or rgb(64, 96, 191); or hsl(225, 50%, 50%). For CSS custom properties: --color-primary: 225 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.