#2979FF

#2979FF — Color Codes & Palette

#2979FF  ·  rgb(41, 121, 255)  ·  hsl(218, 100%, 58%)

Color Codes

Format Value
HEX #2979FF
RGB rgb(41, 121, 255)
HSL hsl(218, 100%, 58%)

Shades of #2979FF

#0A64FF#0056EB#004BCC#0040AD#00348F#002970#001E52#001333

Tints of #2979FF

#3D84FF#5291FF#669EFF#7AABFF#8FB8FF#A3C5FF#B8D2FF#CCDFFF

Color Pairings & Harmony

Complementary
#FFB029
Analogous +30°
#4529FF
Analogous −30°
#29E2FF
Triadic +120°
#FF2977
Triadic −120°
#77FF29

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
3.98:1 — AA pass for large text only
vs. Black (#000000)
5.27:1 — AA pass for normal text

CSS Snippet

.element {
  color: #2979FF;
}

.element-bg {
  background-color: #2979FF;
  color: #000000;
}

.element-border {
  border: 2px solid #2979FF;
}

About #2979FF

#2979FF is a medium color with vivid, highly saturated, defined by the hex code #2979FF. Its exact color model values are rgb(41, 121, 255) in RGB and hsl(218, 100%, 58%) in HSL (hue 218°, saturation 100%, lightness 58%). On a white background the contrast ratio is 3.98:1 — AA pass for large text only, and on black it is 5.27:1 — AA pass for normal text. Use #2979FF for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of #2979FF?
The RGB value of #2979FF (#2979FF) is rgb(41, 121, 255). Red = rgb(41, 121, 255), representing the amounts of red, green, and blue light on a 0–255 scale.
Is #2979FF accessible on a white background?
The contrast ratio of #2979FF on white (#FFFFFF) is 3.98:1 — AA pass for large text only. On black (#000000) the contrast ratio is 5.27:1 — AA pass for normal text. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with #2979FF?
Based on color theory, #2979FF (hsl(218, 100%, 58%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.