#0742DB
A medium, vivid blue closely aligning with Mediumslateblue.
About #0742DB
The precise color #0742DB is an excellent choice for modern design projects. It is closely associated with the named CSS color Mediumslateblue. This translates to an RGB value of rgb(7, 66, 219).
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 97% cyan, 70% magenta, 0% yellow, and 14% black. With a hue angle of 223.3 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. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#0742DB
RGB7, 66, 219
HSL223.3°, 93.8%, 44.3%
CMYK97%, 70%, 0%, 14%
HSV223.3°, 96.8%, 85.9%
LAB36.1, 44.6, -81.1
XYZ14.8, 9.1, 68.0
Decimal475867
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.47:1
Text on #FFFFFF
AAA
2.81:1
Text on #000000
FAIL
7.14:1
Text on #F8FAFC
AAA
2.39:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0742DB;
}
.text-color {
color: #0742DB;
}
.border-color {
border: 2px solid #0742DB;
}