Maroon Colors  ·  Color Library

Palettes / Colors / #031663

#031663 — Deep Vivid Blue

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

Color name

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

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

#031663 · RGB 3, 22, 99

Download PNG swatch SVG

Color values

HEX#031663
RGB3, 22, 99
HSL228°, 94%, 20%
HSV228°, 97%, 39%
CMYK97%, 78%, 0%, 61%
XYZ2.58, 1.49, 11.96
Yxy1.49, 0.1608, 0.0932
CIE-Lab12.57, 27.05, -46.52
Hunter Lab12.22, 17.16, -52.03

RGB & CMYK percentages

Red 1% · Green 9% · Blue 39%

Cyan 97% · Magenta 78% · Yellow 0% · Key 61%

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

Previews

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

CSS code for #031663

.text { color: #031663; }
.background { background-color: #031663; }
.border { border: 3px solid #031663; }
.text-rgb { color: rgb(3, 22, 99); }
.text-hsl { color: hsl(228, 94%, 20%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #031663; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(3, 22, 99, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #031663; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(3, 22, 99, 0.8); }

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

Shades of #031663

#031459#031354#02114A#021045#020D3B#020B31#010A2D#010823#01071E#010414

Tints of #031663

#041F8B#0527AD#0730D5#0838F7#2F57F9#5777FA#7993FB#A1B3FC#C4CFFD#EBEFFE

Tones of #031663

#0A1A5C#111E55#17224F#1F2747#252B41#2C2F3A

Color harmonies

Complementary — #635003:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #031663: #FFFFFF.

Semi-transparent (opacity) text on #031663

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 #031663: ·

How #031663 looks with color blindness

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

Protanopia · #0B0B50Deuteranopia · #0A094CTritanopia · #04423E

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 gray 600 · #4B5563

Palettes with a similar color

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

Palette 0d1a63
#0D1A63 · #1A2CA3 · #2845D6 · #F68048
Palette 0d1164
#0D1164 · #640D5F · #EA2264 · #F78D60
Palette 001a6e
#001A6E · #074799 · #009990 · #E1FFBB
Palette Fc4100
#FC4100 · #FFC55A · #00215E · #2C4E80
Amber Ruby Meadow
#1D7AA5 · #10195D · #6325B0 · #AA1EA8
Palette 091057
#091057 · #024CAA · #EC8305 · #DBD3D3

Similar colors

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

#0D1A63#0D1164#001A6E#00215E#10195D#091057#0D0B61#00235B#021A54#000B58#0A1D56#0F2167

Browse neighbouring colors

← #031662  ·  #031664 →

Frequently asked questions

What color is #031663?

#031663 is Deep Vivid Blue, a blue color (RGB 3, 22, 99). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #031663?

#031663 is RGB 3, 22, 99 — HSL 228°, 94%, 20% — CMYK 97%, 78%, 0%, 61%.

What colors go with #031663?

Its complement is #635003; analogous partners are #034663 and #200363. It also appears in 6+ palettes in our collection.

Can I use #031663 for text?

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