Blue (Pantone) (#0018A8)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
Contrast vs white: 12.38:1 — vs black: 1.70:1

Color values

  • HEX #0018A8
  • RGB rgb(0, 24, 168)
  • HSL hsl(231, 100%, 65%)
  • CMYK cmyk( 100, 85.71, 0, 34.12 )

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #0018A8 based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Blue (Pantone)
#0018A8 Base
#A89000
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Blue (Pantone)
#0018A8 Base
#006CA8
#3C00A8
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Blue (Pantone)
#0018A8 Base
#A80018
#18A800
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Blue (Pantone)
#0018A8 Base
#A83C00
#6CA800
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Blue (Pantone)
#0018A8 Base
#A8006C
#A89000
#00A83C
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Blue (Pantone)
#0018A8 Base
#00041A
#000D5C
#00127F
#001ED1
#0023F5
#425DFF
Shades & Tints

Darker shades and lighter tints of Blue (Pantone), generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#00041A
#000836
#000C53
#00106F
#00148B
Blue (Pantone) #0018A8 Base
#0021E7
#2846FF
#677DFF
#A6B3FF
#E6E9FF
CSS & SCSS Snippets

Ready-to-use code snippets for #0018A8. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #0018A8;
}

/* Text */
.element {
    color: #0018A8;
}

/* Border */
.element {
    border: 1px solid #0018A8;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #0018A8,
        #FFE651
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #0018A8,
        #FFE651
    );
}
SCSS Variable
// SCSS variable
$blue-(pantone): #0018A8;

// With RGB channels (useful for rgba() usage)
$blue-(pantone)-r: 0;
$blue-(pantone)-g: 24;
$blue-(pantone)-b: 168;

// Usage
.element {
    background-color: $blue-(pantone);
    color: rgba($blue-(pantone)-r, $blue-(pantone)-g, $blue-(pantone)-b, 0.8);
}
Color Blindness Simulation

How Blue (Pantone) appears to people with different types of color vision deficiency.

Normal Vision #0018A8 How the color appears with full color vision.
Deuteranopia #1313A8 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #1616A8 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #004444 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #343434 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Blue (Pantone) ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Blue (Pantone) #0018A8 Base
Zaffre #0014A8 ΔE 0.66
Indigo Dye #091F92 ΔE 3.35
Duke Blue #00009C ΔE 3.68
Imperial Blue #002395 ΔE 3.68

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.