Skip to content

#797BDC Color

#797BDC is rgb(121, 123, 220) in RGB, hsl(239, 59%, 67%) in HSL, and about cmyk(45%, 44%, 0%, 14%) in CMYK. It has no registered color name of its own — the closest is Violet-blue (Crayola) (#766EC8), clearly related but distinguishable side by side at ΔE 6.41. Black text is the more readable choice on this background.

#797BDC
HEX#797BDC
RGBrgb(121, 123, 220)
HSLhsl(239, 59%, 67%)
HSVhsv(239, 45%, 86%)
CMYKcmyk(45%, 44%, 0%, 14%)
OKLCHoklch(62.6% 0.144 280.5)
LABlab(54.86% 18.45 -50.72)
LCHlch(54.86% 53.97 289.99)

What #797BDC 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 #797BDC, 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.

#797BDC Channel Values

How #797BDC 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 2208-bit channels as sent to the display
HSLH 239° · S 59% · L 67%Easiest model for building lighter and darker variants
HSVH 239° · S 45% · V 86%Matches the picker in most design tools
CMYKC 45% · M 44% · Y 0% · K 14%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.7:1 vs white · 5.68:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #797BDC 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.7:1AA normal AA large AAA normal
TextBlack text5.68:1AA normal AA large AAA normal

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

Colors That Go With #797BDC

Pairings derived from color-wheel relationships. The complementary color sits opposite #797BDC; 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 #797BDC

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 #797BDC.

How #797BDC 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#797BDC
Protanopia#7B7BDC
Protanomaly#7A7BDC
Deuteranopia#7A7ADC
Deuteranomaly#7A7BDC
Tritanopia#638C8C
Tritanomaly#6D86B2
Achromatopsia#858585

Test a full palette in the color blindness simulator.

Using #797BDC in Code

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

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

More Blue Colors

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

#797BDC Frequently Asked Questions

What color is #797BDC?

#797BDC is a light blue — rgb(121, 123, 220) in RGB and hsl(239, 59%, 67%) in HSL. It carries no registered color name of its own; the closest named color is Violet-blue (Crayola) (#766EC8), which is clearly related but distinguishable side by side at a CIE76 distance of 6.41.

What is the RGB value of #797BDC?

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

What is the CMYK value of #797BDC?

#797BDC converts to approximately cmyk(45%, 44%, 0%, 14%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #797BDC be black or white?

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

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

No. #797BDC 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 mediumpurple (#9370DB) at a CIE76 distance of 13.26, which is visibly different.

Open #797BDC in a Tool

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