Color #0C4A7D Color / Colour Code #0C4A7D

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

    #0C4A7D

    Color Conversions

    HEX
    #0C4A7D
    RGB
    rgb(12, 74, 125)
    HSL
    hsl(207, 82%, 27%)
    HSV
    hsv(207, 90%, 49%)
    CMYK
    cmyk(90%, 41%, 0%, 51%)

    Accessibility Contrast

    WCAG contrast ratios for #0C4A7D against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    9.17:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    2.29:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    7.90:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #0C4A7D paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 177, 207, and 237 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 207, 327, and 87 degrees.

    Color Palettes Using #0C4A7D

    Monochromatic Scale

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

    #072946 #0E538B #178AE8 #74B9F1 #B9DCF8
    Warm Harmony

    Adjacent hues from 207 to 252 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.

    #3095E8 #3068E8 #303AE8 #5530E8
    Cool Contrast

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

    #2688D9 #D97726 #D9D026 #88D926
    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.

    #B8CEE0 #CAB8E0 #E0B8CE #E0CAB8 #CEE0B8

    Shades & Tints of #0C4A7D

    Lightness variations at hue 207 and 82% saturation.

    CSS Gradients with #0C4A7D

    Blue to Orange
    linear-gradient(135deg, #0c4a7d, #7d3f0c)
    Analogous Fade
    linear-gradient(90deg, #0c4a7d, #0c127d)
    Deep to Light
    linear-gradient(180deg, #083254, #abd5f7)
    Tricolor Sweep
    linear-gradient(135deg, #0c4a7d, #7d0c4a, #4a7d0c)

    Design Use Cases for #0C4A7D

    Vibrant Brand Color

    #0C4A7D has a strong 82% saturation that makes it ideal for brand identity elements. Use it for logos, primary call-to-action buttons, hero section accents, and marketing materials where visual impact matters. This saturation level is eye-catching without being harsh.

    Deep Accent & Text Color

    #0C4A7D 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

    #0C4A7D sits in the blue range (hue 207). 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 #0C4A7D (hue 207) to its complement at hue 27. For a subtler effect, try pairing with an analogous color at hue 237. Use CSS: background: linear-gradient(135deg, #0c4a7d, #7d3f0c);

    CSS Code for #0C4A7D

    /* Background */
    background-color: #0c4a7d;
    background-color: rgb(12, 74, 125);
    background-color: hsl(207, 82%, 27%);
    /* Text */
    color: #0c4a7d;
    /* Border */
    border: 2px solid #0c4a7d;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(12, 74, 125, 0.3);
    /* CSS Variable */
    --color-primary: 207 82% 27%;

    Similar Colors

    Colors visually similar to #0C4A7D based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #0C4A7D across image editing and color design tools.

    About Color #0C4A7D (#0C4A7D)

    #0C4A7D is a blue color (colour) with RGB channel values of 12 red, 74 green, and 125 blue. The blue channel is dominant by a ratio of 10.4:1 over the weakest channel. In HSL terms, the hue sits at 207 degrees with 82% saturation and 27% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #0C4A7D is 61/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 90% cyan, 41% magenta, 0% yellow, and 51% key (black).

    The WCAG contrast ratio of #0C4A7D against white is 9.17:1 and against black is 2.29: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 #7D3F0C creates maximum visual tension when paired with #0C4A7D. For more harmonious color combinations, use the analogous colours #0C7D78 and #0C127D, 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 #0C4A7D

    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 #0C4A7D?
    #0C4A7D is Color #0C4A7D, a blue color (colour) with RGB(12, 74, 125), HSL(207, 82%, 27%), and CMYK(90%, 41%, 0%, 51%). Its perceived brightness is 61/255.
    Is #0C4A7D accessible for text?
    Against white, #0C4A7D has a contrast ratio of 9.17:1 (passes AA for normal text). Against black, it has 2.29:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #0C4A7D?
    The complementary colour is #7D3F0C (hue 27). For subtle color combinations, use analogous colours #0C7D78 and #0C127D. The triadic palette adds #7D0C4A and #4A7D0C for vibrant variety.
    How do I use #0C4A7D in CSS?
    Use any format: color: #0c4a7d; or rgb(12, 74, 125); or hsl(207, 82%, 27%). For CSS custom properties: --color-primary: 207 82% 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.