Maroon Colors  ·  Color Library

Palettes / Colors / #0845FB

#0845FB — Vivid Blue

#0845FB is a blue color we call Vivid Blue, closest to the named color Blue (#0000FF). It belongs to the blue family.

Color name

Closest CSS keyword: blue (#0000FF) — not an exact match. CSS blue gives you #0000FF, a different color; use #0845FB 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.

#0845FB 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 #FBBF09; it also sits naturally between #09BFFB and #4509FB. In the palettes below you can see it working alongside real color combinations from our collection.

#0845FB · RGB 8, 69, 251

Download PNG swatch SVG

Color values

HEX#0845FB
RGB8, 69, 251
HSL225°, 97%, 51%
HSV225°, 97%, 98%
CMYK97%, 73%, 0%, 2%
XYZ19.64, 11.27, 92.41
Yxy11.27, 0.1593, 0.0914
CIE-Lab40.04, 54.07, -92.74
Hunter Lab33.58, 48.21, -146.95

RGB & CMYK percentages

Red 3% · Green 27% · Blue 98%

Cyan 97% · Magenta 73% · Yellow 0% · Key 2%

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

Previews

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

CSS code for #0845FB

.text { color: #0845FB; }
.background { background-color: #0845FB; }
.border { border: 3px solid #0845FB; }
.text-rgb { color: rgb(8, 69, 251); }
.text-hsl { color: hsl(225, 97%, 51%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #0845FB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(8, 69, 251, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #0845FB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(8, 69, 251, 0.8); }

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

Shades of #0845FB

#043CE7#0337D3#0331BA#022AA1#02258D#021E74#01185A#011141#010C2D#000514

Tints of #0845FB

#2258FC#3668FC#4F7AFC#638AFD#7C9DFD#90ACFD#AABFFE#BECEFE#D7E1FE#EBF0FF

Tones of #0845FB

#1A4EEA#2C57D8#3D60C7#4E68B7#5F71A5#717994

Color harmonies

Complementary — #FBBF09:

Analogous:

Triadic:

Contrast & accessibility

Against white text6.45:1 AA
Against black text3.25:1 AA large only

Best text color on #0845FB: #FFFFFF.

Semi-transparent (opacity) text on #0845FB

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 #0845FB: ·

How #0845FB looks with color blindness

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

Protanopia · #2223CFDeuteranopia · #1F1AC4Tritanopia · #0BACA5

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 · #2563EBTailwind indigo 600 · #4F46E5

Palettes with a similar color

These palettes use a close neighbour of #0845FB rather than the exact color:

Palette 001bb7
#001BB7 · #0046FF · #FF8040 · #F5F1DC
Palette 0046ff
#0046FF · #73C8D2 · #F5F1DC · #FF9013
Palette 001bb7
#001BB7 · #0046FF · #FF8040 · #E9E9E9
Frozen Ruby Tempest
#250F1E · #FADC51 · #1143FE · #46F990
Velvet Harbor
#1B180B · #FA4C7A · #1340FA · #DB13FA
Honey Ruby Marble
#1A1206 · #F94FE5 · #1253FC · #A14CFE

Similar colors

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

#0046FF#1143FE#1340FA#1253FC#1837F6#1B4EF5#1C33FC#1345E2#1A2EFB#1656E4#0065F8#1E33E7

Browse neighbouring colors

← #0845FA  ·  #0845FC →

Frequently asked questions

What color is #0845FB?

#0845FB is Vivid Blue, a blue color (RGB 8, 69, 251). Its closest standard named color is Blue.

What is the RGB and HSL of #0845FB?

#0845FB is RGB 8, 69, 251 — HSL 225°, 97%, 51% — CMYK 97%, 73%, 0%, 2%.

What colors go with #0845FB?

Its complement is #FBBF09; analogous partners are #09BFFB and #4509FB. It also appears in 6+ palettes in our collection.

Can I use #0845FB for text?

White text on #0845FB has a contrast ratio of 6.45:1 (passes WCAG AA); black text gives 3.25:1.