Royal Azure (#0038A8)

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: 9.85:1 — vs black: 2.13:1

Color values

  • HEX #0038A8
  • RGB rgb(0, 56, 168)
  • HSL hsl(220, 100%, 65%)
  • CMYK cmyk( 100, 66.67, 0, 34.12 )
  • Websafe #003399

Tags

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

Color Harmonies

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

Complementary

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

Royal Azure
#0038A8 Base
#A87000
Analogous

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

Royal Azure
#0038A8 Base
#008CA8
#1C00A8
Triadic

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

Royal Azure
#0038A8 Base
#A80038
#38A800
Split-Complementary

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

Royal Azure
#0038A8 Base
#A81C00
#8CA800
Tetradic (Square)

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

Royal Azure
#0038A8 Base
#A8008C
#A87000
#00A81C
Monochromatic

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

Royal Azure
#0038A8 Base
#00091A
#001F5C
#002A7F
#0046D1
#0052F5
#4281FF
Shades & Tints

Darker shades and lighter tints of Royal Azure, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#00091A
#001236
#001C53
#00256F
#002E8B
Royal Azure #0038A8 Base
#004DE7
#286FFF
#679AFF
#A6C4FF
#E6EEFF
CSS & SCSS Snippets

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

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

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

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

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #0038A8,
        #FFC551
    );
}
SCSS Variable
// SCSS variable
$royal-azure: #0038A8;

// With RGB channels (useful for rgba() usage)
$royal-azure-r: 0;
$royal-azure-g: 56;
$royal-azure-b: 168;

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

How Royal Azure appears to people with different types of color vision deficiency.

Normal Vision #0038A8 How the color appears with full color vision.
Deuteranopia #2F2FA8 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 #3535A8 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #005252 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #434343 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 Royal Azure ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Royal Azure #0038A8 Base
Egyptian Blue #1034A6 ΔE 1.50
UA Blue #0033AA ΔE 1.65
Smalt #003399 ΔE 2.38

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.