Dark Blue
#00008Brgb(0, 0, 139)hsl(240, 100%, 27%)
Dark Blue is #00008B, rgb(0, 0, 139).
In CSS: darkblue
1 of 2 backgrounds pass AA
- On whitePass15.30 : 1
- On ink blackFail1.25 : 1
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.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 15.30:1 | Pass | Pass | Pass |
| Ink black #0F0F12 | 1.25:1 | Fail | Fail | Fail |
| Mid grey #6B7280 | 3.16:1 | Fail | Pass | Fail |
| Dark grey #374151 | 1.48:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 12.36:1 | Pass | Pass | Pass |
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, or open the palette generator with Dark Blue locked and let it fill in the rest.
Full values for Dark Blue
| Format | Value |
|---|---|
| HEX | #00008B |
| RGB | rgb(0, 0, 139) |
| HSL | hsl(240, 100%, 27%) |
| HSV | hsv(240, 100%, 55%) |
| CMYK | cmyk(100%, 100%, 0%, 45%) |
| OKLCH | oklch(28.78% 0.1994 264.05) |
| CIELAB | lab(14.75 50.42 -68.68) |
Frequently asked questions
What is the RGB value of Dark Blue?
Dark Blue (#00008B) is rgb(0, 0, 139): 0 red, 0 green and 139 blue on the 0 to 255 scale. Blue leads at 139 while red and green both sit at 0, which puts the hue at 240 degrees. In HSL the same color is hsl(240, 100%, 27%).
What colour is #00008B?
#00008B is Dark Blue, a dark blue colour with a hue of 240 degrees, 100% saturation and 27% lightness. For print the CMYK breakdown is 100% cyan, 100% magenta, 0% yellow and 45% black. Its nearest neighbour in this library is Navy, 5.3 away in CIELAB, a difference you can see.
Is Dark Blue a CSS color name?
Yes. The keyword darkblue is one of the 148 named colors in CSS Color Module Level 4, so color: darkblue; renders exactly #00008B.
What colors go with Dark Blue?
Opposite Dark Blue on the color wheel sits the complementary #8B8B00, the boldest accent by hue. For a calmer scheme use the analogous neighbours #00458B (close to Yale Blue) and #45008B; for a balanced three-color scheme use the triadic pair #8B0000 (Dark Red) and #008B00 (close to India Green). Of these, #8B8B00 has the most contrast against Dark Blue, at 4.22:1, enough for icons and large text.
What text color is readable on Dark Blue?
White (#FFFFFF) is the most readable on Dark Blue, at 15.30:1, which also clears WCAG AAA (7:1). 2 of the 5 common text colors tested pass AA for normal text.
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.