Black blue RAL 5004
Color values
HEX #18171C
RGB 24, 23, 28
HSL 252°, 10%, 10%
Series Blues
All formats
HEX #18171C
RGB rgb(24, 23, 28)
HSL hsl(252, 10%, 10%)
CSS var --color: #18171C;
RAL RAL 5004
Color analysis
Temperature Neutral
Luminance 1%
Saturation 10%
Brightness 11%
WCAG accessibility
On white background
Aa — The quick brown fox jumps over the lazy dog
17.82:1
AA Pass
AA large Pass
AAA Pass
AAA large Pass
On black background
Aa — The quick brown fox jumps over the lazy dog
1.18:1
AA Fail
AA large Fail
AAA Fail
AAA large Fail
Tint & shade scale
Use this color in other tools
Where it's used
A near-black deep blue used in industrial machinery, architectural metalwork, and high-end electronics. Pairs with RAL 9010 and RAL 7016.
About this color
RAL 5004 Black blue is a RAL Classic color with HEX value #18171C, RGB(24, 23, 28), HSL(252°, 10%, 10%). It belongs to the Blues family (RAL 5xxx series). WCAG relative luminance: 1%. Contrast on white: 17.82:1. Contrast on black: 1.18:1.
FAQ
RAL 5004 Black blue is a standardized color from the RAL Classic palette, used in industry, architecture, and design for consistent color communication. Its HEX value is #18171C, equivalent to RGB(24, 23, 28).
The HEX code of RAL 5004 Black blue is #18171C. In CSS you can use it directly: color: #18171C; or background-color: #18171C;. Its RGB equivalent is rgb(24, 23, 28) and HSL is hsl(252, 10%, 10%).
RAL codes (e.g. RAL 5004) are physical paint standards created for industrial use — they define exact pigment formulations. HEX codes (e.g. #18171C) are digital representations for screens. The conversion is approximate: the same HEX can look different on screens vs. painted surfaces due to lighting, texture, and pigment variance.
WCAG contrast ratio compares the relative luminance of two colors: (L1+0.05)/(L2+0.05), where L is calculated from linearized RGB values. RAL 5004 Black blue has a relative luminance of 1%, giving a contrast of 17.82:1 on white and 1.18:1 on black. AA requires ≥4.5:1 for normal text.
The HEX value #18171C is the closest digital approximation of RAL 5004 Black blue, but not an exact physical match. RAL colors are defined by spectrophotometric measurements of physical paint samples. On-screen rendering depends on your monitor calibration, color profile, and ambient lighting.
RAL 5004 Black blue (HEX #18171C) is used in industrial coatings, architectural finishes, signage, and product design wherever blues tones are needed. RAL Classic codes are the standard reference in European manufacturing, construction, and powder coating industries.
RAL Classic contains 215 standardized colors organized into 9 series by hue family: yellows/beiges (1xxx), oranges (2xxx), reds (3xxx), violets (4xxx), blues (5xxx), greens (6xxx), greys (7xxx), browns (8xxx), and whites/blacks (9xxx). RAL 5004 belongs to the Blues family.