What is hex #2F8CD2 color?

 
The hex code #2F8CD2 is closest to the named color Bleu De France (#318CE7).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 18% red, 55% green and 82% blue, resulting in rgb(47, 140, 210) and hsl(206, 64%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (78%, 33%, 0%, 18%).
In the HSV/HSB scale, #2F8CD2 features a hue of 206°, 78% saturation, and 82% brightness.

Hex #2F8CD2 Color Codes & Conversions

Closest Named Color
Bleu De France (#318CE7)
Hex Code #2F8CD2
Hex8 (RGBA Hex) #2F8CD2FF
RGB (CSS) rgb(47, 140, 210)
RGBA (CSS) rgba(47, 140, 210, 1)
HSL (CSS) hsl(206, 64%, 50%)
HSLA (CSS) hsla(206, 64%, 50%, 1)
HSV / HSB (206°, 78%, 82%)
CMYK Values (78%, 33%, 0%, 18%)
OKLCH (Modern CSS) oklch(61.9% 0.136 245.7)
CIE-LAB (D65) 56.10, -2.95, -43.60
CIE XYZ 22.18, 24.01, 64.43
Decimal / Binary 3116242
00101111 10001100 11010010

Closest Standards & Equivalents

Closest Web Safe
#3399CC
Inverse Color
#D0732D
Complementary Color
#D2752F
Closest Pantone®
Pantone 7689 C
Closest RAL
RAL 5012 [Light blue]

#2F8CD2 Grayscale Equivalents

Average
#848484
Lightness (Desaturation)
#818181
Weighted (BT601)
#787878
Luma (BT709)
#7D7D7D

WCAG 2.1 Color Contrast & Accessibility

Check how #2F8CD2 complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #2F8CD2

Sample preview of readable typography on top of #2F8CD2.

Contrast Ratio: 3.62:1
AA Fail AAA Fail

Black Text on #2F8CD2

Sample preview of readable typography on top of #2F8CD2.

Contrast Ratio: 5.8:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #2F8CD2

Preview #2F8CD2 in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #2F8CD2;
Typography Color Preview
color: #2F8CD2;
Border & Shadow Preview
border: 2px solid #2F8CD2;
CSS Custom Properties & Gradient
:root {
  --color-primary: #2F8CD2;
  --color-primary-rgb: 47, 140, 210;
  --color-complementary: #D2752F;
}
.btn-accent {
  background-color: #2F8CD2;
  color: #000000;
}

Hex #2F8CD2 Color Palettes

Complementary Palette

The complementary color of #2F8CD2 is #D2752F. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #2F8CD2 pairs with #2FD2C6 and #2F3AD2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #2F8CD2 pairs with #D2C62F and #D22F3A, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #2F8CD2 uses #8CD22F and #D22F8C, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #2F8CD2 combines #D22F8C, #D2752F and #2FD275 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #2F8CD2 pairs with #C62FD2, #D2752F and #3AD22F spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #2F8CD2

Tints

Tints are created by mixing #2F8CD2 with white, producing lighter variations.

Tones

Tones are created by mixing #2F8CD2 with gray, softening saturation.

Shades

Shades result from mixing #2F8CD2 with black, creating deeper variations.

Hex #2F8CD2 in Programming & CSS Frameworks

Copy the exact syntax for #2F8CD2 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #2F8CD2
Tailwind CSS bg-[#2F8CD2] text-[#2F8CD2]
Java (AWT) new Color(47,140,210);
Python Color("#2F8CD2")
.NET (C#) Color.FromArgb(255, 47,140,210);
Swift / iOS UIColor(red: 0.18, green: 0.55, blue: 0.82, alpha: 1)
Kotlin / Android Color.rgb(47, 140, 210)