#0A3491
A dark, vivid blue closely aligning with Midnightblue.
About #0A3491
The hex code #0A3491 represents a beautifully specific shade of blue. It is closely associated with the named CSS color Midnightblue. This translates to an RGB value of rgb(10, 52, 145).
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 93% C, 64% M, 0% Y, and 43% K. This makes it a relatively light color when applied to physical surfaces.
When using this color as a background, text legibility must be considered. Because it is a dark color, it is generally recommended to use #FFFFFF text. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#0A3491
RGB10, 52, 145
HSL221.3°, 87.1%, 30.4%
CMYK93%, 64%, 0%, 43%
HSV221.3°, 93.1%, 56.9%
LAB25.5, 25.4, -54.7
XYZ6.5, 4.6, 27.3
Decimal668817
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
10.98:1
Text on #FFFFFF
AAA
1.91:1
Text on #000000
FAIL
10.49:1
Text on #F8FAFC
AAA
1.63:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0A3491;
}
.text-color {
color: #0A3491;
}
.border-color {
border: 2px solid #0A3491;
}