#3A5FE2
A medium, vivid blue closely aligning with Royalblue.
About #3A5FE2
The precise color #3A5FE2 is an excellent choice for modern design projects. If you're using CSS, you might find it aligns closely with Royalblue. Its digital footprint relies on 58 parts red, 95 parts green, and 226 parts blue light.
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 74% Cyan, 58% Magenta, 0% Yellow, and 11% Black. With a hue angle of 226.8 degrees, it sits comfortably in the blue spectrum.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#3A5FE2
RGB58, 95, 226
HSL226.8°, 74.3%, 55.7%
CMYK74%, 58%, 0%, 11%
HSV226.8°, 74.3%, 88.6%
LAB45.0, 32.1, -70.4
XYZ19.6, 14.6, 73.7
Decimal3825634
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.36:1
Text on #FFFFFF
AA
3.91:1
Text on #000000
AA Large
5.13:1
Text on #F8FAFC
AA
3.33:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #3A5FE2;
}
.text-color {
color: #3A5FE2;
}
.border-color {
border: 2px solid #3A5FE2;
}