Skip to content

#797BBE Color

#797BBE is rgb(121, 123, 190) in RGB, hsl(238, 35%, 61%) in HSL, and about cmyk(36%, 35%, 0%, 25%) in CMYK. It has no registered color name of its own — the closest is Middle Blue Purple (#8B72BE), visibly different at ΔE 10.79. Black text is the more readable choice on this background.

#797BBE
HEX#797BBE
RGBrgb(121, 123, 190)
HSLhsl(238, 35%, 61%)
HSVhsv(238, 36%, 75%)
CMYKcmyk(36%, 35%, 0%, 25%)
OKLCHoklch(60.9% 0.101 281.7)
LABlab(53.57% 11.69 -35.79)
LCHlch(53.57% 37.65 288.09)

What #797BBE Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #797BBE, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every blue in the library.

#797BBE Channel Values

How #797BBE breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 121 · G 123 · B 1908-bit channels as sent to the display
HSLH 238° · S 35% · L 61%Easiest model for building lighter and darker variants
HSVH 238° · S 36% · V 75%Matches the picker in most design tools
CMYKC 36% · M 35% · Y 0% · K 25%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.9:1 vs white · 5.39:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #797BBE background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text3.9:1AA normal AA large AAA normal
TextBlack text5.39:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #797BBE in the contrast checker.

Colors That Go With #797BBE

Pairings derived from color-wheel relationships. The complementary color sits opposite #797BBE; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #797BBE

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #797BBE.

How #797BBE Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#797BBE
Protanopia#7B7BBE
Protanomaly#7A7BBE
Deuteranopia#7A7ABE
Deuteranomaly#7A7BBE
Tritanopia#6C8686
Tritanomaly#72829F
Achromatopsia#818181

Test a full palette in the color blindness simulator.

Using #797BBE in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-797bbe: #797BBE;
CSS backgroundbackground-color: #797BBE;
Tailwind configcolors: { 'color-797bbe': '#797BBE' }
SwiftUIColor(red: 0.475, green: 0.482, blue: 0.745)
Android XML<color name="color_797bbe">#797BBE</color>
SVG fillfill="#797BBE"

More Blue Colors

#797BBE sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.

#797BBE Frequently Asked Questions

What color is #797BBE?

#797BBE is a light blue — rgb(121, 123, 190) in RGB and hsl(238, 35%, 61%) in HSL. It carries no registered color name of its own; the closest named color is Middle Blue Purple (#8B72BE), which is visibly different at a CIE76 distance of 10.79.

What is the RGB value of #797BBE?

#797BBE is rgb(121, 123, 190) — red 121, green 123, and blue 190 on the 0-255 scale.

What is the CMYK value of #797BBE?

#797BBE converts to approximately cmyk(36%, 35%, 0%, 25%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #797BBE be black or white?

Black text is the more readable choice. #797BBE scores 3.9:1 against white and 5.39:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #797BBE as a CSS color keyword?

No. #797BBE is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is cornflowerblue (#6495ED) at a CIE76 distance of 18.46, which is visibly different.

Open #797BBE in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.