Dark Blue is a
cool medium color with the hex code #5128D7.
This vibrant hue can be represented as RGB
81, 40, 215 in digital design or CMYK 62%, 81%, 0%, 16% for print applications.
Find matching Pantone color.
Dark Blue
#5128D7
Dark Blue color values
- HEX
- #5128D7
- RGB
- 81, 40, 215
- HSL
- 254°, 69%, 50%
- CMYK
- 62, 81, 0, 16
Shades & tints
About this color
Dark Blue sits at 254° on the color wheel with 69% saturation and 50% lightness, placing it in the blue segment of the spectrum. At 69% saturation, the hue is fully legible and confident — richly chromatic without tipping into high-contrast territory. Its mid-range lightness positions it as a mid-tone: neither a background color nor a deep accent, but something in between.
In digital environments, Dark Blue is rendered as rgb(81, 40, 215), where the blue channel is highest at 215, producing a strongly blue character. The mid-range lightness and strong saturation make this versatile for both foreground and background roles, depending on what it is paired against.
For print, Dark Blue translates to a CMYK breakdown of 62C 81M 0Y 16K. The low-to-moderate black value (16%) means the color's character in print comes primarily from its magenta ink content (81%), with black serving as a supporting shadow tone. No brands in the brandkit.pro library currently specify this exact hex as a named brand color.
Color harmonies
Complementary
Analogous
Triadic
Split-Complementary
How to use Dark Blue
CSS Variable
:root {
--brand-primary: #5128D7;
--brand-primary-rgb: 81, 40, 215;
} Define as a CSS custom property for consistent theming across your site.
Tailwind Config
colors: {
brand: '#5128D7',
}
Add to your Tailwind config to use classes like bg-brand.
Print Design (CMYK)
C: 62%
M: 81%
Y: 0%
K: 16% Use these CMYK values in Adobe Illustrator, InDesign, or print specifications.
RGB for Screens
rgb(81, 40, 215)
rgba(81, 40, 215, 0.8) Use RGB notation for compatibility or add alpha channel for transparency.
Frequently asked questions
What color is #5128D7?
What is the RGB value of #5128D7?
Is Dark Blue a warm or cool color?
How do I use #5128D7 in CSS?
background-color: #5128D7; or color: #5128D7; or as an RGB value: rgb(81, 40, 215). For print design, use CMYK: 62%, 81%, 0%, 16%.