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.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #797EAF against common backgrounds.
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
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.
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.
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.
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.
Shades & Tints of #797EAF
Lightness variations at hue 234 and 25% saturation.
CSS Gradients with #797EAF
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
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
- Enter your color value in HEX format.
- The tool converts it to RGB, HSL, CMYK format in real time.
- Copy the converted value to your clipboard.
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.