Maroon Colors  ·  Color Library

Palettes / Colors / #045FFA

#045FFA — Vivid Blue

#045FFA is a blue color we call Vivid Blue, closest to the named color DodgerBlue (#1E90FF). It belongs to the blue family.

Color name

Closest CSS keyword: dodgerblue (#1E90FF) — not an exact match. CSS dodgerblue gives you #1E90FF, a different color; use #045FFA 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.

#045FFA 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 #FBA004; it also sits naturally between #04DAFB and #2504FB. In the palettes below you can see it working alongside real color combinations from our collection.

#045FFA · RGB 4, 95, 250

Download PNG swatch SVG

Color values

HEX#045FFA
RGB4, 95, 250
HSL218°, 97%, 50%
HSV218°, 98%, 98%
CMYK98%, 62%, 0%, 2%
XYZ21.40, 15.11, 92.23
Yxy15.11, 0.1662, 0.1174
CIE-Lab45.79, 37.84, -82.71
Hunter Lab38.87, 32.81, -120.02

RGB & CMYK percentages

Red 2% · Green 37% · Blue 98%

Cyan 98% · Magenta 62% · Yellow 0% · Key 2%

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

Previews

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

CSS code for #045FFA

.text { color: #045FFA; }
.background { background-color: #045FFA; }
.border { border: 3px solid #045FFA; }
.text-rgb { color: rgb(4, 95, 250); }
.text-hsl { color: hsl(218, 97%, 50%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #045FFA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(4, 95, 250, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #045FFA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(4, 95, 250, 0.8); }

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

Shades of #045FFA

#0355E2#034ECE#0344B5#023CA1#023388#022A6F#01225A#011941#01112D#000814

Tints of #045FFA

#1D6FFC#317BFC#4A8BFC#5E98FD#77A8FD#90B8FD#A5C5FE#BED5FE#D2E2FE#EBF2FF

Tones of #045FFA

#1663E9#2868D7#396DC6#4A71B5#5C76A3#6E7B91

Color harmonies

Complementary — #FBA004:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.22:1 AA
Against black text4.02:1 AA large only

Best text color on #045FFA: #FFFFFF.

Semi-transparent (opacity) text on #045FFA

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 #045FFA: ·

How #045FFA looks with color blindness

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

Protanopia · #2B2CD4Deuteranopia · #261FCCTritanopia · #09B7B0

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:

Bootstrap primary · #0D6EFDTailwind blue 600 · #2563EBMaterial Blue 500 · #2196F3

Palettes with a similar color

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

Palette 4300ff
#4300FF · #0065F8 · #00CAFF · #00FFDE
Palette Fff100
#FFF100 · #006BFF · #08C2FF · #BCF2F6
Honey Ruby Marble
#1A1206 · #F94FE5 · #1253FC · #A14CFE
Palette 001bb7
#001BB7 · #0046FF · #FF8040 · #F5F1DC
Palette 0046ff
#0046FF · #73C8D2 · #F5F1DC · #FF9013
Palette 001bb7
#001BB7 · #0046FF · #FF8040 · #E9E9E9

Similar colors

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

#0065F8#006BFF#1253FC#0046FF#106EE8#0079FF#1B4EF5#1656E4#2264FE#0074E4#1E5AEA#1143FE

Browse neighbouring colors

← #045FF9  ·  #045FFB →

Frequently asked questions

What color is #045FFA?

#045FFA is Vivid Blue, a blue color (RGB 4, 95, 250). Its closest standard named color is DodgerBlue.

What is the RGB and HSL of #045FFA?

#045FFA is RGB 4, 95, 250 — HSL 218°, 97%, 50% — CMYK 98%, 62%, 0%, 2%.

What colors go with #045FFA?

Its complement is #FBA004; analogous partners are #04DAFB and #2504FB. It also appears in 6+ palettes in our collection.

Can I use #045FFA for text?

White text on #045FFA has a contrast ratio of 5.22:1 (passes WCAG AA); black text gives 4.02:1.