Color #797EAF Color / Colour Code #797EAF

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

    #797EAF

    Color Conversions

    HEX
    #797EAF
    RGB
    rgb(121, 126, 175)
    HSL
    hsl(234, 25%, 58%)
    HSV
    hsv(234, 31%, 69%)
    CMYK
    cmyk(31%, 28%, 0%, 31%)

    Accessibility Contrast

    WCAG contrast ratios for #797EAF against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    3.88:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    5.42:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    3.34:1
    AA FailAA Large PassAAA Fail

    Complementary Colors

    #797EAF paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 204, 234, and 264 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 234, 354, and 114 degrees.

    Color Palettes Using #797EAF

    Monochromatic Scale

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

    #1D1F30 #393D60 #60669F #9FA3C6 #CFD1E2
    Warm Harmony

    Adjacent hues from 234 to 279 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.

    #7075A9 #7870A9 #8770A9 #9570A9
    Cool Contrast

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

    #60669F #9F9960 #869F60 #669F60
    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.

    #B8BCE0 #DCB8E0 #E0B8BC #E0DCB8 #BCE0B8

    Shades & Tints of #797EAF

    Lightness variations at hue 234 and 25% saturation.

    CSS Gradients with #797EAF

    Blue to Yellow
    linear-gradient(135deg, #797eaf, #afa979)
    Analogous Fade
    linear-gradient(90deg, #797eaf, #8f79af)
    Deep to Light
    linear-gradient(180deg, #222539, #c6c8dd)
    Tricolor Sweep
    linear-gradient(135deg, #797eaf, #af797e, #7eaf79)

    Design Use Cases for #797EAF

    Muted Accent Color

    With 25% saturation, #797EAF 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.

    Soft Accent & Highlight

    With 58% lightness, #797EAF 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

    #797EAF sits in the blue range (hue 234). 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 #797EAF (hue 234) to its complement at hue 54. For a subtler effect, try pairing with an analogous color at hue 264. Use CSS: background: linear-gradient(135deg, #797eaf, #afa979);

    CSS Code for #797EAF

    /* Background */
    background-color: #797eaf;
    background-color: rgb(121, 126, 175);
    background-color: hsl(234, 25%, 58%);
    /* Text */
    color: #797eaf;
    /* Border */
    border: 2px solid #797eaf;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(121, 126, 175, 0.3);
    /* CSS Variable */
    --color-primary: 234 25% 58%;

    Similar Colors

    Colors visually similar to #797EAF based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #797EAF across image editing and color design tools.

    About Color #797EAF (#797EAF)

    #797EAF is a blue color (colour) with RGB channel values of 121 red, 126 green, and 175 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 234 degrees with 25% saturation and 58% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #797EAF is 130/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This is a medium-brightness color that can work with either dark or light text depending on font weight and size. For print production, the CMYK equivalent is 31% cyan, 28% magenta, 0% yellow, and 31% key (black).

    The WCAG contrast ratio of #797EAF against white is 3.88:1 and against black is 5.42:1. This only passes AA for large text (18pt+) on white. For normal body text on white, darken the color or use it on a dark background where it achieves 5.42:1.

    The complementary colour #AFA979 creates maximum visual tension when paired with #797EAF. For more harmonious color combinations, use the analogous colours #7999AF and #8F79AF, 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 #797EAF

    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 #797EAF?
    #797EAF is Color #797EAF, a blue color (colour) with RGB(121, 126, 175), HSL(234, 25%, 58%), and CMYK(31%, 28%, 0%, 31%). Its perceived brightness is 130/255.
    Is #797EAF accessible for text?
    Against white, #797EAF has a contrast ratio of 3.88:1 (fails AA for normal text). Against black, it has 5.42:1 (passes AA). It passes AA for large text (18pt+) on white. Use the contrast checker tool for custom background pairings.
    What colours pair well with #797EAF?
    The complementary colour is #AFA979 (hue 54). For subtle color combinations, use analogous colours #7999AF and #8F79AF. The triadic palette adds #AF797E and #7EAF79 for vibrant variety.
    How do I use #797EAF in CSS?
    Use any format: color: #797eaf; or rgb(121, 126, 175); or hsl(234, 25%, 58%). For CSS custom properties: --color-primary: 234 25% 58%; 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.