#240F7C
A dark, vivid blue closely aligning with Navy.
About #240F7C
Visually, #240F7C is defined as a vivid blue. Its closest recognized web color is Navy. In the RGB color space, it consists of 36 red, 15 green, and 124 blue.
For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 71% C, 88% M, 0% Y, and 51% K. With a hue angle of 251.6 degrees, it sits comfortably in the blue spectrum.
From a UX and accessibility standpoint, contrast is paramount. Because it is a dark color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#240F7C
RGB36, 15, 124
HSL251.6°, 78.4%, 27.3%
CMYK71%, 88%, 0%, 51%
HSV251.6°, 87.9%, 48.6%
LAB16.4, 41.9, -56.4
XYZ4.5, 2.2, 19.2
Decimal2363260
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
14.64:1
Text on #FFFFFF
AAA
1.43:1
Text on #000000
FAIL
13.99:1
Text on #F8FAFC
AAA
1.22:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #240F7C;
}
.text-color {
color: #240F7C;
}
.border-color {
border: 2px solid #240F7C;
}