hexcolors

#4C40BF

Closest named color: slateblue

About this color

#4C40BF is a blue color. In RGB it is 76, 64, 191, and its closest named color is slateblue. Text in white is easiest to read on it, with a contrast ratio of 7.52:1.

What does blue mean?

Copy the value you need

Click any row to copy it.

HEX
RGB
HSL
HSV
CMYK
LAB
OKLCH

Is text readable on #4C40BF?

Contrast against white and black text.

Aa Sample
7.52:1 with white text
Passes AAA for all text
Aa Sample
2.79:1 with black text
Fails WCAG contrast

Test your own pair

Make it lighter or darker

Shades keep the same hue. Click one to open the closest color page.

Build a full 50 to 950 scale

Softer versions (tints)

Mixed with white.

Muted versions (tones)

Mixed with gray.

Colors that go with #4C40BF

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with slateblue

How it looks with color blindness

Simulated for common types.

Normal
#4C40BF
Protanopia
#0059C3
Deuteranopia
#0050BD
Tritanopia
#00617A

Test an image

Copy the code

CSS, Sass and Tailwind.

color: #4c40bf;
background-color: #4c40bf;
--brand: #4c40bf;
$brand: #4c40bf;
bg-[#4c40bf] text-[#4c40bf] border-[#4c40bf]

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #4C40BF?

#4C40BF is rgb(76, 64, 191).

What is the closest named color to #4C40BF?

The closest CSS named color is slateblue (#6A5ACD).

What color goes well with #4C40BF?

Its complementary color is #B3BF40. Analogous colors at #4074BF and #8B40BF also work well.

Should I use white or black text on #4C40BF?

White text is easier to read, with a contrast ratio of 7.52:1.

Use this color anywhere

Data, embeds and tools.

Get #4C40BF as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color