#331DAF

A medium, vivid blue closely aligning with Darkblue.

About #331DAF

The hex code #331DAF represents a beautifully specific shade of blue. Its closest recognized web color is Darkblue. Its digital footprint relies on 51 parts red, 29 parts green, and 175 parts blue light.

When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 71% C, 83% M, 0% Y, and 31% K. With a hue angle of 249.0 degrees, it sits comfortably in the blue spectrum.

From a UX and accessibility standpoint, contrast is paramount. Because it is a medium color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#331DAF
RGB51, 29, 175
HSL249.0°, 71.6%, 40.0%
CMYK71%, 83%, 0%, 31%
HSV249.0°, 83.4%, 68.6%
LAB25.8, 52.2, -72.3
XYZ9.5, 4.7, 41.0
Decimal3349935

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

10.85:1
Text on #FFFFFF
AAA
1.94:1
Text on #000000
FAIL
10.37:1
Text on #F8FAFC
AAA
1.65:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #331DAF; }
.text-color { color: #331DAF; }
.border-color { border: 2px solid #331DAF; }

Similar Colors

Darkblue
#00008B