Color #312B4E Color / Colour Code #312B4E

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

    #312B4E

    Color Conversions

    HEX
    #312B4E
    RGB
    rgb(49, 43, 78)
    HSL
    hsl(250, 29%, 24%)
    HSV
    hsv(250, 45%, 31%)
    CMYK
    cmyk(37%, 45%, 0%, 69%)

    Accessibility Contrast

    WCAG contrast ratios for #312B4E against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    13.24:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.59:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    11.41:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #312B4E paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 220, 250, and 280 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 250, 10, and 130 degrees.

    Color Palettes Using #312B4E

    Monochromatic Scale

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

    #1F1B31 #3E3663 #675BA4 #A49CC9 #D1CEE4
    Warm Harmony

    Adjacent hues from 250 to 295 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.

    #766BAE #876BAE #976BAE #A86BAE
    Cool Contrast

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

    #675BA4 #98A45B #73A45B #5BA467
    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.

    #BEB8E0 #E0B8DA #E0BEB8 #DAE0B8 #B8E0BE

    Shades & Tints of #312B4E

    Lightness variations at hue 250 and 29% saturation.

    CSS Gradients with #312B4E

    Blue to Yellow
    linear-gradient(135deg, #312b4e, #494f2b)
    Analogous Fade
    linear-gradient(90deg, #312b4e, #432b4f)
    Deep to Light
    linear-gradient(180deg, #25213b, #c8c4de)
    Tricolor Sweep
    linear-gradient(135deg, #312b4f, #4f312b, #2b4f31)

    Design Use Cases for #312B4E

    Muted Accent Color

    With 29% saturation, #312B4E has a subtle, sophisticated quality. This level of desaturation works well for secondary buttons, inactive states, subtle borders, and backgrounds that need a hint of color without being distracting. Muted colors communicate restraint and professionalism.

    Deep Accent & Text Color

    #312B4E at 24% lightness is dark enough for readable body text on light backgrounds while retaining its blue character. Use for headings, emphasized text, or deep accent borders. It provides contrast without the harshness of pure black.

    Trust & Professional Identity

    #312B4E sits in the blue range (hue 250). 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 #312B4E (hue 250) to its complement at hue 70. For a subtler effect, try pairing with an analogous color at hue 280. Use CSS: background: linear-gradient(135deg, #312b4e, #494f2b);

    CSS Code for #312B4E

    /* Background */
    background-color: #312b4e;
    background-color: rgb(49, 43, 78);
    background-color: hsl(250, 29%, 24%);
    /* Text */
    color: #312b4e;
    /* Border */
    border: 2px solid #312b4e;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(49, 43, 78, 0.3);
    /* CSS Variable */
    --color-primary: 250 29% 24%;

    Similar Colors

    Colors visually similar to #312B4E based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #312B4E across image editing and color design tools.

    About Color #312B4E (#312B4E)

    #312B4E is a blue color (colour) with RGB channel values of 49 red, 43 green, and 78 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 250 degrees with 29% saturation and 24% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #312B4E is 49/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 37% cyan, 45% magenta, 0% yellow, and 69% key (black).

    The WCAG contrast ratio of #312B4E against white is 13.24:1 and against black is 1.59: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 #494F2B creates maximum visual tension when paired with #312B4E. For more harmonious color combinations, use the analogous colours #2B374F and #432B4F, 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 #312B4E

    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 #312B4E?
    #312B4E is Color #312B4E, a blue color (colour) with RGB(49, 43, 78), HSL(250, 29%, 24%), and CMYK(37%, 45%, 0%, 69%). Its perceived brightness is 49/255.
    Is #312B4E accessible for text?
    Against white, #312B4E has a contrast ratio of 13.24:1 (passes AA for normal text). Against black, it has 1.59:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #312B4E?
    The complementary colour is #494F2B (hue 70). For subtle color combinations, use analogous colours #2B374F and #432B4F. The triadic palette adds #4F312B and #2B4F31 for vibrant variety.
    How do I use #312B4E in CSS?
    Use any format: color: #312b4e; or rgb(49, 43, 78); or hsl(250, 29%, 24%). For CSS custom properties: --color-primary: 250 29% 24%; 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.