Maroon Colors  ·  Color Library

Palettes / Colors / #0802BB

#0802BB — Vivid Blue

#0802BB is a blue color we call Vivid Blue, closest to the named color DarkBlue (#00008B). It belongs to the blue family.

Color name

Closest CSS keyword: darkblue (#00008B) — not an exact match. CSS darkblue gives you #00008B, a different color; use #0802BB 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.

#0802BB 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 #B5BB02; it also sits naturally between #0258BB and #6502BB. In the palettes below you can see it working alongside real color combinations from our collection.

#0802BB · RGB 8, 2, 187

Download PNG swatch SVG

Color values

HEX#0802BB
RGB8, 2, 187
HSL242°, 98%, 37%
HSV242°, 99%, 73%
CMYK96%, 99%, 0%, 27%
XYZ9.09, 3.68, 47.25
Yxy3.68, 0.1515, 0.0614
CIE-Lab22.59, 62.31, -84.87
Hunter Lab19.19, 52.83, -138.71

RGB & CMYK percentages

Red 3% · Green 1% · Blue 73%

Cyan 96% · Magenta 99% · Yellow 0% · Key 27%

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

Previews

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

CSS code for #0802BB

.text { color: #0802BB; }
.background { background-color: #0802BB; }
.border { border: 3px solid #0802BB; }
.text-rgb { color: rgb(8, 2, 187); }
.text-hsl { color: hsl(242, 98%, 37%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #0802BB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(8, 2, 187, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #0802BB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(8, 2, 187, 0.8); }

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

Shades of #0802BB

#0702AC#070297#060188#050179#05016A#040156#030147#020138#020023#010014

Tints of #0802BB

#0902D9#0B02F7#231CFD#413AFD#5E58FD#7672FE#9490FE#B1AEFE#CECDFE#EBEBFF

Tones of #0802BB

#140FAE#211CA0#2D2A93#393786#464479#52516C

Color harmonies

Complementary — #B5BB02:

Analogous:

Triadic:

Contrast & accessibility

Against white text12.09:1 AAA
Against black text1.74:1 Fails

Best text color on #0802BB: #FFFFFF.

Semi-transparent (opacity) text on #0802BB

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 #0802BB: ·

How #0802BB looks with color blindness

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

Protanopia · #05058EDeuteranopia · #060684Tritanopia · #086B63

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:

Material Indigo 500 · #3F51B5Tailwind indigo 600 · #4F46E5Material Deep Purple 500 · #673AB7

Palettes with a similar color

These palettes use a close neighbour of #0802BB rather than the exact color:

Royal Ruby Voyage
#0E11B0 · #402DEE · #EDEA27 · #EFE692
Palette 0802a3
#0802A3 · #FF4B91 · #FF7676 · #FFCD4B
Velvet Ruby Harbor
#1667AF · #1610CB · #8C12E1 · #DE12BF
Palette 001bb7
#001BB7 · #0046FF · #FF8040 · #F5F1DC
Palette 001bb7
#001BB7 · #0046FF · #FF8040 · #E9E9E9
Silent Ruby Marble
#10B4BE · #10457E · #1719BC · #4F0F9C

Similar colors

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

#0E11B0#0802A3#1610CB#001BB7#1719BC#1F06AC#1116A9#11009E#1A05A2#1311A2#1B1BC1#050C9C

Browse neighbouring colors

← #0802BA  ·  #0802BC →

Frequently asked questions

What color is #0802BB?

#0802BB is Vivid Blue, a blue color (RGB 8, 2, 187). Its closest standard named color is DarkBlue.

What is the RGB and HSL of #0802BB?

#0802BB is RGB 8, 2, 187 — HSL 242°, 98%, 37% — CMYK 96%, 99%, 0%, 27%.

What colors go with #0802BB?

Its complement is #B5BB02; analogous partners are #0258BB and #6502BB. It also appears in 6+ palettes in our collection.

Can I use #0802BB for text?

White text on #0802BB has a contrast ratio of 12.09:1 (passes WCAG AA); black text gives 1.74:1.