BLUE

Dark Blue

#00008B
Conversions
HEX#00008B
RGBrgb(0, 0, 139)
HSLhsl(240, 100%, 27%)
HSVhsv(240, 100%, 55%)
CMYKcmyk(100%, 100%, 0%, 45%)
Copy CSS
color: #00008b; /* rgb */ color: rgb(0, 0, 139); /* hsl */ color: hsl(240, 100%, 27%);
Contrast
On whitePass · 15.30 : 1
On ink blackFail · 1.25 : 1
Shades
Tints
Pairings
Triadic
#8B0000

About Dark Blue

Dark Blue is the hex color #00008B, which translates to rgb(0, 0, 139) in RGB and hsl(240, 100%, 27%) in HSL. On the color wheel it sits at 240 degrees, with a saturation of 100 percent and a lightness of 27 percent. That combination gives Dark Blue a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.

How Dark Blue compares

Dark Blue is exactly the CSS keyword darkblue, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is violet-900 (#4D179A), at a distance of 13.6. Inside this library the closest neighbour is Navy at 5.3. Sorted by lightness, Dark Blue is number 4 of the 30 blue colors here.

Text on Dark Blue

2 of the five common text colors below clear WCAG AA for normal text on Dark Blue, led by White at 15.30:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Dark Blue already loaded as the background.

Contrast of common text colors on Dark Blue. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF15.30:1PassPassPass
Ink black #0F0F121.25:1FailFailFail
Mid grey #6B72803.16:1FailPassFail
Dark grey #3741511.48:1FailFailFail
Light grey #E5E7EB12.36:1PassPassPass

Building a palette around Dark Blue

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Dark Blue for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.

Full values for Dark Blue

FormatValue
HEX#00008B
RGBrgb(0, 0, 139)
HSLhsl(240, 100%, 27%)
HSVhsv(240, 100%, 55%)
CMYKcmyk(100%, 100%, 0%, 45%)
OKLCHoklch(28.78% 0.1994 264.05)
CIELABlab(14.75 50.42 -68.68)

Use Dark Blue in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.