Color #304E5A Color / Colour Code #304E5A

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

    #304E5A

    Color Conversions

    HEX
    #304E5A
    RGB
    rgb(48, 78, 90)
    HSL
    hsl(197, 30%, 27%)
    HSV
    hsv(197, 47%, 35%)
    CMYK
    cmyk(47%, 13%, 0%, 65%)

    Accessibility Contrast

    WCAG contrast ratios for #304E5A against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    8.89:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    2.36:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    7.66:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #304E5A paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 167, 197, and 227 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 197, 317, and 77 degrees.

    Color Palettes Using #304E5A

    Monochromatic Scale

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

    #1B2B32 #365663 #5990A6 #9CBCC9 #CDDEE4
    Warm Harmony

    Adjacent hues from 197 to 242 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.

    #6A9BAF #6A8AAF #6A79AF #6C6AAF
    Cool Contrast

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

    #5990A6 #A66F59 #A69559 #90A659
    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.

    #B8D5E0 #C3B8E0 #E0B8D5 #E0C3B8 #D5E0B8

    Shades & Tints of #304E5A

    Lightness variations at hue 197 and 30% saturation.

    CSS Gradients with #304E5A

    Blue to Orange
    linear-gradient(135deg, #304e5a, #5a3c30)
    Analogous Fade
    linear-gradient(90deg, #304e5a, #30395a)
    Deep to Light
    linear-gradient(180deg, #20343c, #c3d7df)
    Tricolor Sweep
    linear-gradient(135deg, #304e5a, #5a304e, #4e5a30)

    Design Use Cases for #304E5A

    Balanced UI Color

    At 30% saturation, #304E5A 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.

    Deep Accent & Text Color

    #304E5A at 27% 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

    #304E5A sits in the blue range (hue 197). 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 #304E5A (hue 197) to its complement at hue 17. For a subtler effect, try pairing with an analogous color at hue 227. Use CSS: background: linear-gradient(135deg, #304e5a, #5a3c30);

    CSS Code for #304E5A

    /* Background */
    background-color: #304e5a;
    background-color: rgb(48, 78, 90);
    background-color: hsl(197, 30%, 27%);
    /* Text */
    color: #304e5a;
    /* Border */
    border: 2px solid #304e5a;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(48, 78, 90, 0.3);
    /* CSS Variable */
    --color-primary: 197 30% 27%;

    Similar Colors

    Colors visually similar to #304E5A based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #304E5A across image editing and color design tools.

    About Color #304E5A (#304E5A)

    #304E5A is a blue color (colour) with RGB channel values of 48 red, 78 green, and 90 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 197 degrees with 30% saturation and 27% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #304E5A is 70/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 47% cyan, 13% magenta, 0% yellow, and 65% key (black).

    The WCAG contrast ratio of #304E5A against white is 8.89:1 and against black is 2.36: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 #5A3C30 creates maximum visual tension when paired with #304E5A. For more harmonious color combinations, use the analogous colours #305A51 and #30395A, 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 #304E5A

    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 #304E5A?
    #304E5A is Color #304E5A, a blue color (colour) with RGB(48, 78, 90), HSL(197, 30%, 27%), and CMYK(47%, 13%, 0%, 65%). Its perceived brightness is 70/255.
    Is #304E5A accessible for text?
    Against white, #304E5A has a contrast ratio of 8.89:1 (passes AA for normal text). Against black, it has 2.36:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #304E5A?
    The complementary colour is #5A3C30 (hue 17). For subtle color combinations, use analogous colours #305A51 and #30395A. The triadic palette adds #5A304E and #4E5A30 for vibrant variety.
    How do I use #304E5A in CSS?
    Use any format: color: #304e5a; or rgb(48, 78, 90); or hsl(197, 30%, 27%). For CSS custom properties: --color-primary: 197 30% 27%; 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.