CSS named color

Dark Blue Color Codes, Shades and Palettes

Dark Blue is #00008B. Copy its exact codes, compare twenty computed channel steps, and build complementary, analogous, or triadic palettes.

#00008BRGB 0, 0, 139HSL 240°, 100%, 27%

Dark Blue color codes

Every format below is calculated from #00008B; use the buttons to copy a code exactly.

HEX#00008B
RGBrgb(0, 0, 139)
HSLhsl(240°, 100%, 27%)
CMYKcmyk(100%, 100%, 0%, 45%)

10 shades and 10 tints of Dark Blue

These twenty steps use the original Color Lab’s channel-multiplication rule: each RGB channel is multiplied, rounded, and clamped between 0 and 255.

Darker channel steps

#00000E
#00001C
#00002A
#000038
#000046
#000053
#000061
#00006F
#00007D
#00008B

Lighter channel steps

#000099
#0000A7
#0000B5
#0000C3
#0000D1
#0000DE
#0000EC
#0000FA
#0000FF
#0000FF

Computed harmonies and palette ideas

Companion hues use the original wheel’s exact offsets at 80% saturation and 50% lightness, so the relationship stays measurable and repeatable.

Complementary

#1919E6#E6E619

Analogous

#1919E6#8019E6#1980E6

Triadic

#1919E6#E61919#19E619

How Dark Blue is calculated

Dark Blue is stored as the CSS named-color keyword “darkblue” with the six-digit value #00008B. Splitting that value into red, green, and blue byte pairs produces RGB 0, 0, 139. The same channels convert to HSL 240°, 100%, 27% with the picker’s max-and-min formula, and to CMYK 100%, 100%, 0%, 45% after normalizing each channel to the zero-to-one range. All displayed HSL and CMYK components are rounded to whole numbers.

The shade series is not an invented set of labels. It multiplies the original RGB channels by factors from 0.1 through 1.0. That calculation runs from #00000E at factor 0.1 to #00008B at factor 1.0. The tint series continues the same Color Lab rule from factor 1.1 through 2.0, with clamping whenever a channel reaches 255; its last result is #0000FF. Clicking any square copies its precomputed code.

For wheel relationships, the base hue is 240 degrees. The complementary hue is 60 degrees, while the analogous companions sit 30 degrees on either side. Triadic companions are offset by 120 and 240 degrees. Like the working Color Lab wheel, those hue samples render at fixed 80% saturation and 50% lightness rather than changing Dark Blue’s own saturation or lightness.

In the full 298-name catalog, the closest distinct RGB neighbors include Navy (#000080), Midnight Blue (#191970), Medium Blue (#0000CD), Royal Blue 4 (#27408B). Distance is straight-line Euclidean distance between the three sRGB channel values, with equal-hex aliases excluded. Against #00008B, black text measures 1.37:1 and white text measures 15.3:1, so white gives the stronger of those two contrast results. Check the ratio required by your specific text size before publishing.

Try Dark Blue in the Color Picker

Pick any color and instantly get HEX, RGB, HSL, and CMYK codes.

Enter a hash followed by exactly six hexadecimal digits.
HEX
RGB
HSL
CMYK
Color Shades & Tints

Frequently asked questions

What is the HEX code for Dark Blue?

Dark Blue is recorded here as #00008B. Its RGB channels are 0, 0, 139.

What are the HSL and CMYK values for Dark Blue?

Using the Color Lab conversion math, Dark Blue converts to HSL 240°, 100%, 27% and CMYK 100%, 100%, 0%, 45%. Values are rounded to whole units.

Should Dark Blue use black or white text?

Black has a 1.37:1 contrast ratio and white has a 15.3:1 ratio against Dark Blue. The higher computed ratio is white.