What is hex #005FCC color?

 
The hex code #005FCC is closest to the named color Denim (#1560BD).
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, 37% green and 80% blue, resulting in rgb(0, 95, 204) and hsl(212, 100%, 40%).
For print media and manufacturing layout, the CMYK equivalent is (100%, 53%, 0%, 20%).
In the HSV/HSB scale, #005FCC features a hue of 212°, 100% saturation, and 80% brightness.

Hex #005FCC Color Codes & Conversions

Closest Named Color
Denim (#1560BD)
Hex Code #005FCC
Hex8 (RGBA Hex) #005FCCFF
RGB (CSS) rgb(0, 95, 204)
RGBA (CSS) rgba(0, 95, 204, 1)
HSL (CSS) hsl(212, 100%, 40%)
HSLA (CSS) hsla(212, 100%, 40%, 1)
HSV / HSB (212°, 100%, 80%)
CMYK Values (100%, 53%, 0%, 20%)
OKLCH (Modern CSS) oklch(50.7% 0.185 257.7)
CIE-LAB (D65) 42.06, 19.85, -62.71
CIE XYZ 14.99, 12.54, 58.75
Decimal / Binary 24524
00000000 01011111 11001100

Closest Standards & Equivalents

Closest Web Safe
#0066CC
Inverse Color
#FFA033
Complementary Color
#CC6D00
Closest Pantone®
Pantone 285 C
Closest RAL
RAL 5015 [Sky blue]

#005FCC Grayscale Equivalents

Average
#646464
Lightness (Desaturation)
#666666
Weighted (BT601)
#4F4F4F
Luma (BT709)
#535353

WCAG 2.1 Color Contrast & Accessibility

Check how #005FCC 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 #005FCC

Sample preview of readable typography on top of #005FCC.

Contrast Ratio: 5.98:1
AA Pass AAA Fail

Black Text on #005FCC

Sample preview of readable typography on top of #005FCC.

Contrast Ratio: 3.51:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #005FCC

Preview #005FCC in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #005FCC;
Typography Color Preview
color: #005FCC;
Border & Shadow Preview
border: 2px solid #005FCC;
CSS Custom Properties & Gradient
:root {
  --color-primary: #005FCC;
  --color-primary-rgb: 0, 95, 204;
  --color-complementary: #CC6D00;
}
.btn-accent {
  background-color: #005FCC;
  color: #ffffff;
}

Hex #005FCC Color Palettes

Complementary Palette

The complementary color of #005FCC is #CC6D00. 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 #005FCC pairs with #00C5CC and #0700CC, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #005FCC pairs with #C5CC00 and #CC0700, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #005FCC uses #5FCC00 and #CC005F, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #005FCC combines #CC005F, #CC6D00 and #00CC6D around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #005FCC pairs with #CC00C5, #CC6D00 and #00CC07 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #005FCC

Tints

Tints are created by mixing #005FCC with white, producing lighter variations.

Tones

Tones are created by mixing #005FCC with gray, softening saturation.

Shades

Shades result from mixing #005FCC with black, creating deeper variations.

Hex #005FCC in Programming & CSS Frameworks

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

HTML / CSS #005FCC
Tailwind CSS bg-[#005FCC] text-[#005FCC]
Java (AWT) new Color(0,95,204);
Python Color("#005FCC")
.NET (C#) Color.FromArgb(255, 0,95,204);
Swift / iOS UIColor(red: 0, green: 0.37, blue: 0.8, alpha: 1)
Kotlin / Android Color.rgb(0, 95, 204)