#797dbe Color Information

#797dbe Color Information
Details | Shades, Tints, and Tones | Variations | Color Coordinates | Color Schemes | HTML+CSS Examples | Coding & Programming | Color Blindness | Accessibility | Related Colors

The hexadecimal value (hex value) of this color is #797dbe. In RGB, it consists of 47.5% Red, 49.0% Green, and 74.5% Blue. Likewise, in the CMYK color space, it consists of 36.3% Cyan, 34.2% Magenta, 0% Yellow, and 25.5% Black. On the color wheel, its Hue is found at 236.5°, with saturation of 34.7% and lightness of 61%. The decimal value for #797dbe is 7962046, and its nearest "web safe" color is #6666cc. In the RGB color space, the strongest component for #797dbe is blue. In the CMYK color space, its strongest component is cyan. And in the RYB color space, its strongest component is blue.
  • HexHex code for this color#797dbe Copy
  • NameThe common name of this color(Unnamed) Copy
  • RGBRed, Green, Blue composition for this color121, 125, 190 Copy
  • RGB PercentPercent Red, Green, Blue composition for this color47.5%, 49.0%, 74.5% Copy
  • CMYCyan, Magenta, Yellow composition for this color0.525, 0.510, 0.255 Copy
  • CMYKCyan, Magenta, Yellow, Black composition for this color0.363, 0.342, 0, 0.255 Copy
  • HSLHue, Saturation, Lightness combination for this color236.5°, 34.7%, 61.0% Copy
  • HSV (or HSB)Hue, Saturation, Brightness combination for this color236.5°, 36.3%, 74.5% Copy
  • XYZCIE 1931 color space XYZ coordinates for this color24.513, 22.450, 51.757 Copy
  • RYBRed, Yellow, Blue composition for this color121, 125, 190 Copy
  • DecimalDecimal representation of this color's hex code7962046 Copy
  • CIE-LABCIELAB color space coordinates for this color54.501, 14.381, -34.533 Copy
  • CIE-LCHCIE-LCH color space coordinates for this color (chroma, hue, etc.)54.501, 37.408, 292.609 Copy
  • CIE-LUVCIE-LUV color space coordinates for this color54.501, -5.677, -54.677 Copy
  • Hunter LabHunter-Lab color space coordinates for this color47.381, 9.431, -31.598 Copy
  • xyYCIE xyY color space coordinates for this color0.248, 0.227, 22.450 Copy
  • AndroidValue of this color in Android development4286152126 / 0xff797dbe Copy
  • Web SafeHex code of the nearest "web safe" version of this color#6666cc Copy
Last Updated: April 26, 2024

Shades of #797dbe

Shades are created by adding black to or removing lightness from a particular color. For #797dbe, its pure hue is 236.5° on the color wheel and its saturation is 34.7%, and its lightness is 61.0%. As the amount of black is added to this hue and we reduce its lightness, the result is increasingly darker shades tints. The palette given below provides 9 different shades of #797dbe, which — excluding black and our original color — range from #0f1018 to #6a6da6.

Tints of #797dbe

Tints are created by adding white or lightness to a particular color. For #797dbe, its pure hue is 236.5° on the color wheel and its saturation is 34.7%, and its lightness is 61.0%. As the amount of white (lightness) is added to this hue, the result is increasingly lighter tints. The following palette gives 9 different tints of #797dbe, which — excluding white and our original color — range from #8a8dc6 to #eeeff7.

Tones of #797dbe

Tones are the result of adding gray to a pure hue. In the case of #797dbe, its pure hue is 236.5° on the color wheel and its saturation is 34.7%, so we increase this saturation to create more colorful tones, and decrease the saturation to create grayer tones. The palette shown below gives 9 different tones of #797dbe, which range from #9c9c9c (the grayest / 0% saturation) to #3844ff (the most colorful / 100% saturation).

Variations of #797dbe

There are several ways to create color variations and premutations of #797dbe! For #797dbe, there are 6 variations of the color that can be created by swapping its Red, Green, and Blue color positions, of which 5 are different from our original color. Among these six variations, there are 6 unique colors including our original color, #797dbe. Click on these colors to learn more about them, too!

Color Coordinates of #797dbe

This color, #797dbe, consists of 47.5% Red, 49.0% Green, and 74.5% Blue, resulting in color coordinates Red = 121, Green = 125, Blue = 190. Likewise, the CMYK color space composition for #797dbe is 36.3% Cyan, 34.2% Magenta, 0% Yellow, and 25.5% Black. These values are shown in the following charts and tables.

R47.5%
C36.3%
G49.0%
M34.2%
B74.5%
Y0.0%
K25.5%
Color Base R (Red) G (Green) B (Blue)
Decimal 121 125 190
Octal 171 175 276
Hexa #79 #7d #be
Binary 01111001 01111101 10111110
Color Base C (Cyan) M (Magenta) Y (Yellow) Y (Black)
Decimal 36 34 0 25
Octal 44 42 0 31
Hexa #24 #22 #00 #19
Binary 00100100 00100010 00000000 00011001

Analogous Colors of #797dbe

Analogous colors are located 30 degrees away from a color's hue on the color wheel. For #797dbe — which has hue 236.5° — its analogous colors are located at 206.5° and 266.5° on the color wheel, with the same saturation and lightness as #797dbe.

Triadic Colors of #797dbe

Triadic colors are located 120 degrees away from a color's hue on the color wheel, which means the original color and its triadic colors are equidistant from one another on the color wheel and form a triangle. For #797dbe — which has hue 236.5° — its triadic colors are located at 116.5° and 356.5° on the color wheel, with the same saturation and lightness as #797dbe.

Complementary Color of #797dbe

A complementary color is located opposite a color on the color wheel (180 degrees away). For #797dbe — which has hue 236.5° — its complementary color is located at 56.5° on the color wheel, with the same saturation and lightness as #797dbe.

Split Complementary Colors of #797dbe

Split complementary colors are the analogs of a color's complement, which places them 210 degrees away on the color wheel from an original color. For #797dbe — which has hue 236.5° — its split complementary colors its split complementary colors are located at 26.5° and 236.5° on the color wheel, with the same saturation and lightness as #797dbe.

Tetradic Colors of #797dbe

Tetradic colors are two sets of complementary colors on either side of a color wheel from each other, forming a rectangle on the color wheel. For #797dbe — which has hue 236.5° — its tetradic colors are located at 146.5°, 236.5°, 326.5°, and 56.5° on the color wheel, with the same saturation and lightness as #797dbe.

Monochromatic Colors of #797dbe

Monochromatic colors are colors that share a common hue but that have different saturations and lightness. For #797dbe, we show 9 different monochromatic colors of it, ranging from #575a7c — (which has very low saturation and very low lightness) — to #b3b6e7 (which has a very high saturation and very high lightness).

HTML+CSS Examples & Previews of #797dbe

We want to make getting started with #797dbe on your website fast and easy! Below are 8 examples of how to integrate #797dbe into a website using HTML+CSS. These examples include showing how #797dbe can be used to color text, backgrounds, shadows, and borders, as well as how it can be used as a solid fill or gradient fill for rectangles. These examples principally make use of <span> and <div> tags, although the CSS shown in particular can be repurposed to make use of #797dbe with other HTML elements.

#797dbe Foreground / Text Color

The color of this text is #797dbe.
<span style="color: #797dbe;">The color of this text is #797dbe.</span>

#797dbe Background Color

The background color for this text is #797dbe.
<div style="background-color: #797dbe; color:#ffffff; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">The background color for this text is #797dbe.</div>

#797dbe Text Shadow Color

This color for the shadow of this text is #797dbe.
<span style="text-shadow: 3px 3px 3px #797dbe;">This color for the shadow of this text is #797dbe.</span>

#797dbe Border Color

This is a div with border color #797dbe.
<div style="border: #797dbe 4px solid;width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a div with border color #797dbe.</div>

#797dbe Color Rectangle on a White Background

This is a rectangle of color #797dbe on a white background.
<div style="background-color: #ffffff; padding: 60px; width:100%; height: 100%;"><div style="background-color: #797dbe; color:#ffffff; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #797dbe on a white background.</div></div>

#797dbe Color Rectangle on a Black Background

This is a rectangle of color #797dbe on a black background.
<div style="background-color: #000000; padding: 60px; width:100%; height: 100%;"><div style="background-color: #797dbe; color:#ffffff; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #797dbe on a black background.</div></div>

Gradient from #797dbe to White

This is a gradient from #797dbe to white.
<div style="background: -webkit-linear-gradient(left,#797dbe,white); /* Firefox */ background: linear-gradient(to right,#797dbe,white); /* Safari */ background: -o-linear-gradient(left,#797dbe,white); /* Opera */ background: -moz-linear-gradient(left,#797dbe,white); width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #797dbe to white.</div>

Gradient from #797dbe to Black

This is a gradient from #797dbe to black.
<div style="background: -webkit-linear-gradient(left,#797dbe,black); /* Firefox */ background: linear-gradient(to right,#797dbe,black); /* Safari */ background: -o-linear-gradient(left,#797dbe,black); /* Opera */ background: -moz-linear-gradient(left,#797dbe,black); color: #ffffff; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #797dbe to black.</div>

Coding & Programming with #797dbe

In addition to using #797dbe on the web, we know you might want to use it in your mobile and desktop apps, too. Whatever your needs, the table below shows how to access #797dbe in the language and environment of your choice. These code snippets are principally the hexadecimal representation of #797dbe, or the RGB color coordinates for the same (Red = 121, Green = 125, Blue = 190). If you need details about the color coordinates of #797dbe in other color spaces, refer to these details as provided toward the top of this page.

Language Environment Code Snippet
HTML + CSS (Hex Code) Web #797dbe
HTML + CSS (RGB Code) Web rgb(121, 125, 190)
CSS Background Color Web .myclass { background-color: #797dbe; }
CSS Foreground + Text Color Web .myclass { color: #797dbe; }
CSS Border Color Web .myclass { border: 2px solid #797dbe; }
Java (Multi-platform) new Color(121, 125, 190);
Python (Multi-platform) Color("#797dbe")
Swift iOS UIColor(red:121, green:125, blue:190, alpha:1.0000)
Objective-C (iOS) iOS [UIColor colorWithRed:121 green:125 blue:190 alpha:1.0000];
OpenGL (Graphics) glColor3f(121f, 125f, 190f);
C# / .NET Windows Color.FromArgb(121, 125, 190);
 

#797dbe Color Blindness

Not everyone can see #797dbe the same way. For those with color blindness, #797dbe might look very, very different. Here, we simulate eight examples of color blindness, and how #797dbe looks next to each one of them. In all cases, #797dbe is placed in a circle in the upper-left corner of each of the below boxes, with the color in the rest of those boxes signifying how #797dbe looks for someone with that type of color blindness. Many people will perceive close similarities between the colors in these boxes and the colors in the circles — with some noticing particular similarities. We offer this insight so that as you make choices about colors to use for your purposes, you can make an informed decision about whether #797dbe will be a good fit for everyone in your audience!

Trichromacy

Protanomaly
Affects 1 in 100 Men & 1 in 10,000 Women

Deuteranomaly
Affects 1 in 17 Men & 1 in 250 Women

Tritanomaly
Affects 1 in 10,000

Dichromacy

Protanopia
Affects 1 in 100, Mostly Men

Deuteranopia
Affects 1 in 100, Mostly Men

Tritanopia
Affects 1 in 100,000

Monochromacy

Achromatopsia
Affects 1 in 20,000

Achromatopsia
Affects 1 in 100,000

Accessibility

Not Accessibility Recommended

We analyzed whether #797dbe is an accessible color when used as a text / foreground color against a white background. This analysis is based on the Web Content Accessibility Guidelines (WCAG) 2 Level issued by W3C. Based on this analysis, we calculate a contrast ratio against white of approximately 3.8:1 against white. While there are some situations where this contrast is high enough to be considered accessible under the AA or AAA level standards, it is not high enough to be considered accessible in all cases. Details about the specific circumstances where #797dbe would and would not be an accessible foreground color are summarized below.

WCAG AA
Normal Size Text

WCAG AA
Large Size Text

WCAG AAA
Normal Size Text

WCAG AAA
Large Size Text