#0B1C41
Closest named color: midnightblue
About this color
#0B1C41 is a very dark blue color. In RGB it is 11, 28, 65, and its closest named color is midnightblue. Text in white is easiest to read on it, with a contrast ratio of 16.71:1.
Copy the value you need
Click any row to copy it.
Is text readable on #0B1C41?
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 #0B1C41
Ready-made pairings from the color wheel.
Explore the color wheel · More colors that go with midnightblue
How it looks with color blindness
Simulated for common types.
#0B1C41
#062042
#001B40
#00252B
Copy the code
CSS, Sass and Tailwind.
color: #0b1c41;
background-color: #0b1c41;
--brand: #0b1c41;
$brand: #0b1c41;
bg-[#0b1c41] text-[#0b1c41] border-[#0b1c41]
Similar colors
Nearby colors you might prefer.
Common questions
What is the RGB value of #0B1C41?
#0B1C41 is rgb(11, 28, 65).
What is the closest named color to #0B1C41?
The closest CSS named color is midnightblue (#191970).
What color goes well with #0B1C41?
Its complementary color is #41300B. Analogous colors at #0B3741 and #150B41 also work well.
Should I use white or black text on #0B1C41?
White text is easier to read, with a contrast ratio of 16.71:1.
Use this color anywhere
Data, embeds and tools.
Recently viewed
Saved only in this browser.