#5F42DB

A medium, moderate blue closely aligning with Blueviolet.

About #5F42DB

The precise color #5F42DB is an excellent choice for modern design projects. Its closest recognized web color is Blueviolet. This translates to an RGB value of rgb(95, 66, 219).

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 57% cyan and 70% magenta inks. The HSL representation is 251.4° hue, 68.0% saturation, and 55.9% lightness.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#5F42DB
RGB95, 66, 219
HSL251.4°, 68.0%, 55.9%
CMYK57%, 70%, 0%, 14%
HSV251.4°, 69.9%, 85.9%
LAB40.3, 51.9, -74.0
XYZ19.5, 11.4, 68.2
Decimal6243035

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.39:1
Text on #FFFFFF
AA
3.29:1
Text on #000000
AA Large
6.10:1
Text on #F8FAFC
AA
2.80:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #5F42DB; }
.text-color { color: #5F42DB; }
.border-color { border: 2px solid #5F42DB; }

Similar Colors

Blueviolet
#8A2BE2