#5742A8
A medium, moderate blue closely aligning with Rebeccapurple.
About #5742A8
At its core, #5742A8 is a medium and moderate hue. If you're using CSS, you might find it aligns closely with Rebeccapurple. This translates to an RGB value of rgb(87, 66, 168).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 48% cyan and 61% magenta inks. 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 medium 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#5742A8
RGB87, 66, 168
HSL252.4°, 43.6%, 45.9%
CMYK48%, 61%, 0%, 34%
HSV252.4°, 60.7%, 65.9%
LAB35.5, 35.3, -52.1
XYZ12.9, 8.7, 38.1
Decimal5718696
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.64:1
Text on #FFFFFF
AAA
2.75:1
Text on #000000
FAIL
7.30:1
Text on #F8FAFC
AAA
2.34:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5742A8;
}
.text-color {
color: #5742A8;
}
.border-color {
border: 2px solid #5742A8;
}