What is hex #007FAC color?

 
The hex code #007FAC is closest to the named color Cerulean (#007BA7).
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 0% red, 50% green and 67% blue, resulting in rgb(0, 127, 172) and hsl(196, 100%, 34%).
For print media and manufacturing layout, the CMYK equivalent is (100%, 26%, 0%, 33%).
In the HSV/HSB scale, #007FAC features a hue of 196°, 100% saturation, and 67% brightness.

Hex #007FAC Color Codes & Conversions

Closest Named Color
Cerulean (#007BA7)
Hex Code #007FAC
Hex8 (RGBA Hex) #007FACFF
RGB (CSS) rgb(0, 127, 172)
RGBA (CSS) rgba(0, 127, 172, 1)
HSL (CSS) hsl(196, 100%, 34%)
HSLA (CSS) hsla(196, 100%, 34%, 1)
HSV / HSB (196°, 100%, 67%)
CMYK Values (100%, 26%, 0%, 33%)
OKLCH (Modern CSS) oklch(56.0% 0.115 232.2)
CIE-LAB (D65) 49.68, -12.72, -32.03
CIE XYZ 15.03, 18.16, 41.73
Decimal / Binary 32684
00000000 01111111 10101100

Closest Standards & Equivalents

Closest Web Safe
#006699
Inverse Color
#FF8053
Complementary Color
#AC2D00
Closest Pantone®
Pantone 7704 C
Closest RAL
RAL 5015 [Sky blue]

#007FAC Grayscale Equivalents

Average
#646464
Lightness (Desaturation)
#565656
Weighted (BT601)
#5E5E5E
Luma (BT709)
#676767

WCAG 2.1 Color Contrast & Accessibility

Check how #007FAC 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 #007FAC

Sample preview of readable typography on top of #007FAC.

Contrast Ratio: 4.53:1
AA Pass AAA Fail

Black Text on #007FAC

Sample preview of readable typography on top of #007FAC.

Contrast Ratio: 4.63:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #007FAC

Preview #007FAC in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #007FAC;
Typography Color Preview
color: #007FAC;
Border & Shadow Preview
border: 2px solid #007FAC;
CSS Custom Properties & Gradient
:root {
  --color-primary: #007FAC;
  --color-primary-rgb: 0, 127, 172;
  --color-complementary: #AC2D00;
}
.btn-accent {
  background-color: #007FAC;
  color: #000000;
}

Hex #007FAC Color Palettes

Complementary Palette

The complementary color of #007FAC is #AC2D00. 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 #007FAC pairs with #00AC83 and #0029AC, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #007FAC pairs with #AC8300 and #AC0029, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #007FAC uses #7FAC00 and #AC007F, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #007FAC combines #AC007F, #AC2D00 and #00AC2D around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #007FAC pairs with #8300AC, #AC2D00 and #29AC00 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #007FAC

Tints

Tints are created by mixing #007FAC with white, producing lighter variations.

Tones

Tones are created by mixing #007FAC with gray, softening saturation.

Shades

Shades result from mixing #007FAC with black, creating deeper variations.

Hex #007FAC in Programming & CSS Frameworks

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

HTML / CSS #007FAC
Tailwind CSS bg-[#007FAC] text-[#007FAC]
Java (AWT) new Color(0,127,172);
Python Color("#007FAC")
.NET (C#) Color.FromArgb(255, 0,127,172);
Swift / iOS UIColor(red: 0, green: 0.5, blue: 0.67, alpha: 1)
Kotlin / Android Color.rgb(0, 127, 172)