Maroon Colors  ·  Color Library

Palettes / Colors / #002142

#002142 — Dark Vivid Blue

#002142 is a blue color we call Dark Vivid Blue, closest to the named color MidnightBlue (#191970). It belongs to the blue family.

#002142 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 #422100; it also sits naturally between #004242 and #000042. In the palettes below you can see it working alongside real color combinations from our collection.

#002142 · RGB 0, 33, 66

Download PNG swatch SVG

Color values

HEX#002142
RGB0, 33, 66
HSL210°, 100%, 13%
HSV210°, 100%, 26%
CMYK100%, 50%, 0%, 74%
XYZ1.53, 1.48, 5.36
Yxy1.48, 0.1825, 0.1770
CIE-Lab12.49, 3.38, -24.18
Hunter Lab12.17, 1.78, -18.96

RGB & CMYK percentages

Red 0% · Green 13% · Blue 26%

Cyan 100% · Magenta 50% · Yellow 0% · Key 74%

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

Previews

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

CSS code for #002142

.text { color: #002142; }
.background { background-color: #002142; }
.border { border: 3px solid #002142; }
.text-rgb { color: rgb(0, 33, 66); }
.text-hsl { color: hsl(210, 100%, 13%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #002142; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(0, 33, 66, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #002142; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(0, 33, 66, 0.8); }

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

Shades of #002142

#001F3D#001C38#001A33#00172E#00172E#001429#001224#000F1F#000D19#000A14

Tints of #002142

#00366B#004D99#0061C2#0075EB#1A8CFF#42A1FF#6BB5FF#94C9FF#C2E0FF#EBF5FF

Tones of #002142

#05213E#0A2139#0E2134#13212F#18212B#1D2126

Color harmonies

Complementary — #422100:

Analogous:

Triadic:

Contrast & accessibility

Against white text16.20:1 AAA
Against black text1.30:1 Fails

Best text color on #002142: #FFFFFF.

How #002142 looks with color blindness

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

Protanopia · #0E0F3ADeuteranopia · #0C0A38Tritanopia · #023432

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

Palettes with a similar color

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

Palette 001f3f
#001F3F · #3A6D8C · #6A9AB0 · #EAD8B1
Palette 001f3f
#001F3F · #083358 · #0DA574 · #FFD717
Palette 001f3f
#001F3F · #083358 · #0D63A5 · #FFD717
Palette 001f3d
#001F3D · #ED985F · #F7B980 · #E6E6E6
Palette 00204a
#00204A · #005792 · #448EF6 · #FDB44B
Palette Fbecb2
#FBECB2 · #F8BDEB · #5272F2 · #072541

Similar colors

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

#001F3F#001F3D#00204A#072541#06283D#00224D#04293A#01204E#0A2647#0B2447#0A2947#0D1C42

Browse neighbouring colors

← #002141  ·  #002143 →

Frequently asked questions

What color is #002142?

#002142 is Dark Vivid Blue, a blue color (RGB 0, 33, 66). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #002142?

#002142 is RGB 0, 33, 66 — HSL 210°, 100%, 13% — CMYK 100%, 50%, 0%, 74%.

What colors go with #002142?

Its complement is #422100; analogous partners are #004242 and #000042. It also appears in 6+ palettes in our collection.

Can I use #002142 for text?

White text on #002142 has a contrast ratio of 16.20:1 (passes WCAG AA); black text gives 1.30:1.