#240066
A dark, vivid purple closely aligning with Midnightblue.
About #240066
At its core, #240066 is a dark and vivid hue. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 36 red, 0 green, and 102 blue.
For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 65% C, 100% M, 0% Y, and 60% K. Always request a physical proof before doing a large print run with this exact code.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a dark color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#240066
RGB36, 0, 102
HSL261.2°, 100.0%, 20.0%
CMYK65%, 100%, 0%, 60%
HSV261.2°, 100.0%, 40.0%
LAB11.5, 41.6, -50.2
XYZ3.1, 1.3, 12.7
Decimal2359398
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
16.58:1
Text on #FFFFFF
AAA
1.27:1
Text on #000000
FAIL
15.84:1
Text on #F8FAFC
AAA
1.08:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #240066;
}
.text-color {
color: #240066;
}
.border-color {
border: 2px solid #240066;
}