Maroon Colors  ·  Color Library

Palettes / Colors / #045CA2

#045CA2 — Vivid Blue

#045CA2 is a blue color we call Vivid Blue, closest to the named color Teal (#008080). It belongs to the blue family.

Color name

Closest CSS keyword: teal (#008080) — not an exact match. CSS teal gives you #008080, a different color; use #045CA2 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#045CA2 is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #A44C04; it also sits naturally between #04A49C and #040CA4. In the palettes below you can see it working alongside real color combinations from our collection.

#045CA2 · RGB 4, 92, 162

Download PNG swatch SVG

Color values

HEX#045CA2
RGB4, 92, 162
HSL207°, 95%, 33%
HSV207°, 98%, 64%
CMYK98%, 43%, 0%, 36%
XYZ10.40, 10.29, 35.62
Yxy10.29, 0.1847, 0.1827
CIE-Lab38.36, 4.85, -44.09
Hunter Lab32.08, 3.50, -46.87

RGB & CMYK percentages

Red 2% · Green 36% · Blue 64%

Cyan 98% · Magenta 43% · Yellow 0% · Key 36%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #045CA2 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #045CA2 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #045CA2

.text { color: #045CA2; }
.background { background-color: #045CA2; }
.border { border: 3px solid #045CA2; }
.text-rgb { color: rgb(4, 92, 162); }
.text-hsl { color: hsl(207, 95%, 33%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #045CA2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(4, 92, 162, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #045CA2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(4, 92, 162, 0.8); }

HTML: <p style="color:#045CA2">Text here</p> · <div style="background-color:#045CA2">Div content here</div>

Shades of #045CA2

#045495#034B86#034377#033B68#02355E#022D50#022441#011C32#011423#010B14

Tints of #045CA2

#056DC2#0680E5#1090F9#2E9EFA#51AEFB#6FBCFB#8DCAFC#AAD8FD#CDE8FE#EBF6FE

Tones of #045CA2

#105B98#1B5A8D#275982#325877#3D566B#485560

Color harmonies

Complementary — #A44C04:

Analogous:

Triadic:

Contrast & accessibility

Against white text6.87:1 AA
Against black text3.06:1 AA large only

Best text color on #045CA2: #FFFFFF.

Semi-transparent (opacity) text on #045CA2

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #045CA2: ·

How #045CA2 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #2A2B91Deuteranopia · #251E8DTritanopia · #088481

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind sky 600 · #0284C7Tailwind cyan 600 · #0891B2Tailwind teal 600 · #0D9488

Palettes with a similar color

These palettes use a close neighbour of #045CA2 rather than the exact color:

Palette 0d5ea6
#0D5EA6 · #EAA64D · #C78A3B · #A16D28
Palette 00ead3
#00EAD3 · #FFF5B7 · #FF449F · #005F99
Ruby Voyage
#006199 · #8ACFF8 · #F4EB6C · #FFD444
Palette 001f3f
#001F3F · #083358 · #0D63A5 · #FFD717
Palette 07689f
#07689F · #A2D5F2 · #FAFAFA · #FF7E67
Golden Tempest
#183941 · #0D5798 · #3E67D9 · #B9F5F2

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#0D5EA6#005F99#006199#0D63A5#07689F#0D5798#0766AD#0A5EB0#125B9A#0B60B0#0E67A9#005792

Browse neighbouring colors

← #045CA1  ·  #045CA3 →

Frequently asked questions

What color is #045CA2?

#045CA2 is Vivid Blue, a blue color (RGB 4, 92, 162). Its closest standard named color is Teal.

What is the RGB and HSL of #045CA2?

#045CA2 is RGB 4, 92, 162 — HSL 207°, 95%, 33% — CMYK 98%, 43%, 0%, 36%.

What colors go with #045CA2?

Its complement is #A44C04; analogous partners are #04A49C and #040CA4. It also appears in 6+ palettes in our collection.

Can I use #045CA2 for text?

White text on #045CA2 has a contrast ratio of 6.87:1 (passes WCAG AA); black text gives 3.06:1.