X11 named shade

Royal Blue 4 Color Codes, Shades and Palettes

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

#27408BRGB 39, 64, 139HSL 225°, 56%, 35%

Royal Blue 4 color codes

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

HEX#27408B
RGBrgb(39, 64, 139)
HSLhsl(225°, 56%, 35%)
CMYKcmyk(72%, 54%, 0%, 45%)

10 shades and 10 tints of Royal Blue 4

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

#04060E
#080D1C
#0C132A
#101A38
#142046
#172653
#1B2D61
#1F336F
#233A7D
#27408B

Lighter channel steps

#2B4699
#2F4DA7
#3353B5
#375AC3
#3B60D1
#3E66DE
#426DEC
#4673FA
#4A7AFF
#4E80FF

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

#194DE6#E6B319

Analogous

#194DE6#4D19E6#19B3E6

Triadic

#194DE6#E6194D#4DE619

How Royal Blue 4 is calculated

Royal Blue 4 is stored as the X11 numbered color name “royalblue4” with the six-digit value #27408B. Splitting that value into red, green, and blue byte pairs produces RGB 39, 64, 139. The same channels convert to HSL 225°, 56%, 35% with the picker’s max-and-min formula, and to CMYK 72%, 54%, 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 #04060E at factor 0.1 to #27408B 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 #4E80FF. Clicking any square copies its precomputed code.

For wheel relationships, the base hue is 225 degrees. The complementary hue is 45 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 Royal Blue 4’s own saturation or lightness.

In the full 298-name catalog, the closest distinct RGB neighbors include Dodger Blue 4 (#104E8B), Slate Blue 4 (#473C8B), Dark Slate Blue (#483D8B), Steel Blue 4 (#36648B). Distance is straight-line Euclidean distance between the three sRGB channel values, with equal-hex aliases excluded. Against #27408B, black text measures 2.19:1 and white text measures 9.58:1, so white gives the stronger of those two contrast results. Check the ratio required by your specific text size before publishing.

Try Royal Blue 4 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 Royal Blue 4?

Royal Blue 4 is recorded here as #27408B. Its RGB channels are 39, 64, 139.

What are the HSL and CMYK values for Royal Blue 4?

Using the Color Lab conversion math, Royal Blue 4 converts to HSL 225°, 56%, 35% and CMYK 72%, 54%, 0%, 45%. Values are rounded to whole units.

Should Royal Blue 4 use black or white text?

Black has a 2.19:1 contrast ratio and white has a 9.58:1 ratio against Royal Blue 4. The higher computed ratio is white.