What is hex #151DC2 color?

 
The hex code #151DC2 is closest to the named color Blue Pantone (#0018A8).
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 8% red, 11% green and 76% blue, resulting in rgb(21, 29, 194) and hsl(237, 80%, 42%).
For print media and manufacturing layout, the CMYK equivalent is (89%, 85%, 0%, 24%).
In the HSV/HSB scale, #151DC2 features a hue of 237°, 89% saturation, and 76% brightness.

Hex #151DC2 Color Codes & Conversions

Closest Named Color
Blue Pantone (#0018A8)
Hex Code #151DC2
Hex8 (RGBA Hex) #151DC2FF
RGB (CSS) rgb(21, 29, 194)
RGBA (CSS) rgba(21, 29, 194, 1)
HSL (CSS) hsl(237, 80%, 42%)
HSLA (CSS) hsla(237, 80%, 42%, 1)
HSV / HSB (237°, 89%, 76%)
CMYK Values (89%, 85%, 0%, 24%)
OKLCH (Modern CSS) oklch(39.1% 0.239 266.8)
CIE-LAB (D65) 26.54, 56.42, -82.41
CIE XYZ 10.48, 4.93, 51.43
Decimal / Binary 1383874
00010101 00011101 11000010

Closest Standards & Equivalents

Closest Web Safe
#0033CC
Inverse Color
#EAE23D
Complementary Color
#C2BA15
Closest Pantone®
Pantone 2736 C
Closest RAL
RAL 5002 [Ultramarine blue]

#151DC2 Grayscale Equivalents

Average
#515151
Lightness (Desaturation)
#6C6C6C
Weighted (BT601)
#2D2D2D
Luma (BT709)
#272727

WCAG 2.1 Color Contrast & Accessibility

Check how #151DC2 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 #151DC2

Sample preview of readable typography on top of #151DC2.

Contrast Ratio: 10.57:1
AA Pass AAA Pass

Black Text on #151DC2

Sample preview of readable typography on top of #151DC2.

Contrast Ratio: 1.99:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #151DC2

Preview #151DC2 in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #151DC2;
Typography Color Preview
color: #151DC2;
Border & Shadow Preview
border: 2px solid #151DC2;
CSS Custom Properties & Gradient
:root {
  --color-primary: #151DC2;
  --color-primary-rgb: 21, 29, 194;
  --color-complementary: #C2BA15;
}
.btn-accent {
  background-color: #151DC2;
  color: #ffffff;
}

Hex #151DC2 Color Palettes

Complementary Palette

The complementary color of #151DC2 is #C2BA15. 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 #151DC2 pairs with #1573C2 and #6315C2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #151DC2 pairs with #73C215 and #C26315, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #151DC2 uses #1DC215 and #C2151D, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #151DC2 combines #C2151D, #C2BA15 and #15C2BA around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #151DC2 pairs with #C21573, #C2BA15 and #15C263 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #151DC2

Tints

Tints are created by mixing #151DC2 with white, producing lighter variations.

Tones

Tones are created by mixing #151DC2 with gray, softening saturation.

Shades

Shades result from mixing #151DC2 with black, creating deeper variations.

Hex #151DC2 in Programming & CSS Frameworks

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

HTML / CSS #151DC2
Tailwind CSS bg-[#151DC2] text-[#151DC2]
Java (AWT) new Color(21,29,194);
Python Color("#151DC2")
.NET (C#) Color.FromArgb(255, 21,29,194);
Swift / iOS UIColor(red: 0.08, green: 0.11, blue: 0.76, alpha: 1)
Kotlin / Android Color.rgb(21, 29, 194)