#334799
Closest named color: darkslateblue
About this color
#334799 is a blue color. In RGB it is 51, 71, 153, and its closest named color is darkslateblue. Text in white is easiest to read on it, with a contrast ratio of 8.39:1.
Copy the value you need
Click any row to copy it.
Is text readable on #334799?
Contrast against white and black text.
Passes AAA for all text
Fails WCAG contrast
Make it lighter or darker
Shades keep the same hue. Click one to open the closest color page.
Softer versions (tints)
Mixed with white.
Muted versions (tones)
Mixed with gray.
Colors that go with #334799
Ready-made pairings from the color wheel.
Explore the color wheel · More colors that go with darkslateblue
How it looks with color blindness
Simulated for common types.
#334799
#12529C
#004997
#005A69
Copy the code
CSS, Sass and Tailwind.
color: #334799;
background-color: #334799;
--brand: #334799;
$brand: #334799;
bg-[#334799] text-[#334799] border-[#334799]
Similar colors
Nearby colors you might prefer.
Common questions
What is the RGB value of #334799?
#334799 is rgb(51, 71, 153).
What is the closest named color to #334799?
The closest CSS named color is darkslateblue (#483D8B).
What color goes well with #334799?
Its complementary color is #998533. Analogous colors at #337A99 and #523399 also work well.
Should I use white or black text on #334799?
White text is easier to read, with a contrast ratio of 8.39:1.
Use this color anywhere
Data, embeds and tools.
Recently viewed
Saved only in this browser.