#42A5F5

#42A5F5 — Color Codes & Palette

#42A5F5  ·  rgb(66, 165, 245)  ·  hsl(207, 90%, 61%)

Color Codes

Format Value
HEX #42A5F5
RGB rgb(66, 165, 245)
HSL hsl(207, 90%, 61%)

Shades of #42A5F5

#2597F4#0C88ED#0B78D0#0967B3#085696#064579#05355C#03243F

Tints of #42A5F5

#55AEF6#69B7F7#7CC0F8#90CAF9#A3D3FA#B6DCFB#CAE5FC#DDEFFD

Color Pairings & Harmony

Complementary
#F59342
Analogous +30°
#424BF5
Analogous −30°
#42F5EC
Triadic +120°
#F542A5
Triadic −120°
#A5F542

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
2.65:1 — Fail
vs. Black (#000000)
7.93:1 — AAA pass for normal text

CSS Snippet

.element {
  color: #42A5F5;
}

.element-bg {
  background-color: #42A5F5;
  color: #000000;
}

.element-border {
  border: 2px solid #42A5F5;
}

About #42A5F5

#42A5F5 is a light color with vivid, highly saturated, defined by the hex code #42A5F5. Its exact color model values are rgb(66, 165, 245) in RGB and hsl(207, 90%, 61%) in HSL (hue 207°, saturation 90%, lightness 61%). On a white background the contrast ratio is 2.65:1 — Fail, and on black it is 7.93:1 — AAA pass for normal text. Use #42A5F5 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 #42A5F5?
The RGB value of #42A5F5 (#42A5F5) is rgb(66, 165, 245). Red = rgb(66, 165, 245), representing the amounts of red, green, and blue light on a 0–255 scale.
Is #42A5F5 accessible on a white background?
The contrast ratio of #42A5F5 on white (#FFFFFF) is 2.65:1 — Fail. On black (#000000) the contrast ratio is 7.93:1 — AAA 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 #42A5F5?
Based on color theory, #42A5F5 (hsl(207, 90%, 61%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.