Color #340BCB Color / Colour Code #340BCB

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

    #340BCB

    Color Conversions

    HEX
    #340BCB
    RGB
    rgb(52, 11, 203)
    HSL
    hsl(253, 90%, 42%)
    HSV
    hsv(253, 95%, 80%)
    CMYK
    cmyk(74%, 95%, 0%, 20%)

    Accessibility Contrast

    WCAG contrast ratios for #340BCB against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    10.21:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    2.06:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    8.80:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #340BCB 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 #340BCB

    Monochromatic Scale

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

    #130449 #250891 #3E0DF2 #8B6EF7 #C5B6FB
    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.

    #5830E8 #8630E8 #B430E8 #E230E8
    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 #340BCB

    Lightness variations at hue 253 and 90% saturation.

    CSS Gradients with #340BCB

    Blue to Yellow
    linear-gradient(135deg, #340bcb, #a2cb0b)
    Analogous Fade
    linear-gradient(90deg, #340bcb, #950bcb)
    Deep to Light
    linear-gradient(180deg, #160557, #baa8fa)
    Tricolor Sweep
    linear-gradient(135deg, #340bcb, #cb340b, #0bcb34)

    Design Use Cases for #340BCB

    High-Impact Accent

    With 90% saturation, #340BCB is highly vivid. Reserve this for elements that need maximum attention: primary action buttons, notification badges, error states, or promotional banners. Use sparingly alongside neutral tones to avoid visual fatigue.

    Primary Interface Color

    At 42% lightness, #340BCB 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

    #340BCB 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 #340BCB (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, #340bcb, #a2cb0b);

    CSS Code for #340BCB

    /* Background */
    background-color: #340bcb;
    background-color: rgb(52, 11, 203);
    background-color: hsl(253, 90%, 42%);
    /* Text */
    color: #340bcb;
    /* Border */
    border: 2px solid #340bcb;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(52, 11, 203, 0.3);
    /* CSS Variable */
    --color-primary: 253 90% 42%;

    Similar Colors

    Colors visually similar to #340BCB based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #340BCB across image editing and color design tools.

    About Color #340BCB (#340BCB)

    #340BCB is a blue color (colour) with RGB channel values of 52 red, 11 green, and 203 blue. The blue channel is dominant by a ratio of 18.5:1 over the weakest channel. In HSL terms, the hue sits at 253 degrees with 90% saturation and 42% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #340BCB is 45/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 74% cyan, 95% magenta, 0% yellow, and 20% key (black).

    The WCAG contrast ratio of #340BCB against white is 10.21:1 and against black is 2.06: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 #A2CB0B creates maximum visual tension when paired with #340BCB. For more harmonious color combinations, use the analogous colours #0B41CB and #950BCB, 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 #340BCB

    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 #340BCB?
    #340BCB is Color #340BCB, a blue color (colour) with RGB(52, 11, 203), HSL(253, 90%, 42%), and CMYK(74%, 95%, 0%, 20%). Its perceived brightness is 45/255.
    Is #340BCB accessible for text?
    Against white, #340BCB has a contrast ratio of 10.21:1 (passes AA for normal text). Against black, it has 2.06:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #340BCB?
    The complementary colour is #A2CB0B (hue 73). For subtle color combinations, use analogous colours #0B41CB and #950BCB. The triadic palette adds #CB340B and #0BCB34 for vibrant variety.
    How do I use #340BCB in CSS?
    Use any format: color: #340bcb; or rgb(52, 11, 203); or hsl(253, 90%, 42%). For CSS custom properties: --color-primary: 253 90% 42%; 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.