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
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
Mood
Style
Use case
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #0038A8 based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#0038A8
Base
#A87000
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#0038A8
Base
#008CA8
#1C00A8
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#0038A8
Base
#A80038
#38A800
Two colors flanking the complement — high contrast with less tension than full complementary.
#0038A8
Base
#A81C00
#8CA800
Four colors at 90° intervals — rich variety, best when one color dominates.
#0038A8
Base
#A8008C
#A87000
#00A81C
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#0038A8
Base
#00091A
#001F5C
#002A7F
#0046D1
#0052F5
#4281FF
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
#0038A8
Base
#004DE7
#286FFF
#679AFF
#A6C4FF
#E6EEFF
Ready-to-use code snippets for #0038A8. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #0038A8;
}
/* Text */
.element {
color: #0038A8;
}
/* Border */
.element {
border: 1px solid #0038A8;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#0038A8,
#FFC551
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#0038A8,
#FFC551
);
}
// 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);
}
How Royal Azure appears to people with different types of color vision deficiency.
#0038A8
How the color appears with full color vision.
#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.
#3535A8
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#005252
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#434343
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.