Maroon Colors  ·  Color Library

Palettes / Colors / #02003D

#02003D — Dark Vivid Blue

#02003D is a blue color we call Dark Vivid Blue, closest to the named color Black (#000000). It belongs to the blue family.

Color name

Closest CSS keyword: black (#000000) — not an exact match. CSS black gives you #000000, a different color; use #02003D 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.

#02003D is a cool blue color associated with trust, calm and professionalism. It is deep enough for text, outlines and dark interface surfaces, and makes light colors glow next to it.

Its strongest partner is its complement #3B3D00; it also sits naturally between #001D3D and #21003D. In the palettes below you can see it working alongside real color combinations from our collection.

#02003D · RGB 2, 0, 61

Download PNG swatch SVG

Color values

HEX#02003D
RGB2, 0, 61
HSL242°, 100%, 12%
HSV242°, 100%, 24%
CMYK97%, 100%, 0%, 76%
XYZ0.87, 0.35, 4.44
Yxy0.35, 0.1534, 0.0619
CIE-Lab3.16, 21.90, -35.79
Hunter Lab5.91, 16.40, -42.22

RGB & CMYK percentages

Red 1% · Green 0% · Blue 24%

Cyan 97% · Magenta 100% · Yellow 0% · Key 76%

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

Previews

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

CSS code for #02003D

.text { color: #02003D; }
.background { background-color: #02003D; }
.border { border: 3px solid #02003D; }
.text-rgb { color: rgb(2, 0, 61); }
.text-hsl { color: hsl(242, 100%, 12%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #02003D; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(2, 0, 61, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #02003D; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(2, 0, 61, 0.8); }

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

Shades of #02003D

#020038#020033#020033#02002E#010029#010024#01001F#01001F#010019#010014

Tints of #02003D

#030066#050094#0600BD#0800EB#1C14FF#443DFF#706BFF#9794FF#C4C2FF#EBEBFF

Tones of #02003D

#060439#0A0934#0E0D30#12112C#161627#1B1A23

Color harmonies

Complementary — #3B3D00:

Analogous:

Triadic:

Contrast & accessibility

Against white text19.63:1 AAA
Against black text1.07:1 Fails

Best text color on #02003D: #FFFFFF.

Semi-transparent (opacity) text on #02003D

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 #02003D: ·

How #02003D looks with color blindness

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

Protanopia · #01012EDeuteranopia · #01012BTritanopia · #022320

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 dark · #212529Tailwind neutral 600 · #525252Tailwind slate 600 · #475569

Palettes with a similar color

These palettes use a close neighbour of #02003D rather than the exact color:

Palette Ffa3ac
#FFA3AC · #00043C · #005D6C · #00C9B1
Palette 090040
#090040 · #471396 · #B13BFF · #FFCC00
Palette 030637
#030637 · #3C0753 · #720455 · #910A67
Palette 0a043c
#0A043C · #03506F · #BBBBBB · #FFE3D8
Palette 070739
#070739 · #521477 · #C327AB · #E1E099
Ruby Aurora
#010736 · #0D1C42 · #22396F · #FCF1D0

Similar colors

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

#00043C#090040#030637#0A043C#070739#010736#060047#050E3C#090030#10083F#060930#05004E

Browse neighbouring colors

← #02003C  ·  #02003E →

Frequently asked questions

What color is #02003D?

#02003D is Dark Vivid Blue, a blue color (RGB 2, 0, 61). Its closest standard named color is Black.

What is the RGB and HSL of #02003D?

#02003D is RGB 2, 0, 61 — HSL 242°, 100%, 12% — CMYK 97%, 100%, 0%, 76%.

What colors go with #02003D?

Its complement is #3B3D00; analogous partners are #001D3D and #21003D. It also appears in 6+ palettes in our collection.

Can I use #02003D for text?

White text on #02003D has a contrast ratio of 19.63:1 (passes WCAG AA); black text gives 1.07:1.