#240FC5
A medium, vivid blue closely aligning with Mediumblue.
About #240FC5
The precise color #240FC5 is an excellent choice for modern design projects. Its closest recognized web color is Mediumblue. This translates to an RGB value of rgb(36, 15, 197).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 82% cyan, 92% magenta, 0% yellow, and 23% black. With a hue angle of 246.9 degrees, it sits comfortably in the blue spectrum.
Contrast ratios determine whether this color is safe for typography. Because it is a medium color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#240FC5
RGB36, 15, 197
HSL246.9°, 85.8%, 41.6%
CMYK82%, 92%, 0%, 23%
HSV246.9°, 92.4%, 77.3%
LAB26.0, 62.4, -85.1
XYZ11.0, 4.7, 53.2
Decimal2363333
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
10.77:1
Text on #FFFFFF
AAA
1.95:1
Text on #000000
FAIL
10.30:1
Text on #F8FAFC
AAA
1.66:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #240FC5;
}
.text-color {
color: #240FC5;
}
.border-color {
border: 2px solid #240FC5;
}