Closest web-safe match: #000000

Color Details and Palettes for #040D15

Details about the color Black Knight#040D15

Conversions, palettes, contrast & design ideas for this color.

Azure family Cool WCAG ink: white
HEX #040D15 RGB rgb(4, 13, 21) HSL hsl(208, 68%, 5%) CMYK cmyk(81%, 38%, 0%, 92%)

Color profile

About Color Hex #040D15

#040D15 is a cool color from the Azure family, closest in name to “Black Knight”. In RGB it is rgb(4, 13, 21); in HSL, hsl(208, 68%, 5%).

The color Black Knight, with hexadecimal code #040d15, belongs to the blue color family, the world's most universally preferred hue. Blue projects trust, stability, and intellectual calm, which is why it dominates corporate, financial, and technology branding worldwide. Additionally, it evokes emotions such as Power, Elegance, Formality, Mystery and Authority. Blue signifies tranquility and stability. In Middle Eastern cultures, it can also represent protection against the evil eye, while in Western cultures, it symbolizes calmness and reliability. At 68% saturation, this color is clearly chromatic yet balanced—colorful enough to be distinctive without overwhelming adjacent content. At only 5% lightness, this extremely dark shade approaches black, delivering maximum drama and contrast when paired with lighter elements. This color is ideal for designs that aim to express Power, Elegance, Formality, Mystery, or Authority. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

Key facts

RGB 4, 13, 21 red · green · blue HSL 208° 68% 5% hue · sat · light HSV 208° 81% 8% design-app pickers CMYK 81 38 0 92 print inks, % Luminance 0.004 0 dark → 1 light On black 1.07:1 ✕ AA contrast ratio On white 19.56:1 ✓ AA contrast ratio Web-safe #000000 closest web-safe Best text white ideal foreground Character Vivid cool · azure family

The story of this color

History, Usage, Psychology & Design Ideas for #040D15

Black Knight (#040D15) belongs to the Azure color family.

This deep, saturated shade conveys authority and richness. Deep tones are favored in luxury packaging, evening-event branding, and dark-mode interfaces where they provide dramatic contrast against lighter elements.

Historical Background

Azure derives from the Arabic lazaward, referring to the lapis lazuli stone that yielded ultramarine pigment—once more costly per ounce than gold. Medieval European painters reserved ultramarine for the most sacred subjects, particularly the Virgin Mary's robes. The word azure also entered heraldry as the term for blue fields on coats of arms, symbolizing loyalty and truth.

Design & Usage Tips

Azure strikes a balance between the brightness of cyan and the depth of blue, making it a versatile choice for technology, aviation, and financial brands (Microsoft Azure is a prominent example). Pair azure with white for authority and clarity, or with light gold for a regal combination.

Sitting on the cool side of the spectrum (hue 208°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. With 68% saturation, it occupies a comfortable middle ground: colorful enough to be distinctive, yet restrained enough for extended reading or large surface areas.

Psychological Impact

Azure evokes trust, aspiration, and openness—like a clear sky. It feels less corporate than navy and more refined than bright blue, hitting a sweet spot for brands that want to appear both professional and approachable.

At just 5% lightness, this is an extremely dark shade that approaches black. It is best reserved for text, thin borders, or dramatic full-bleed backgrounds paired with light typography.

Creative Design Ideas

Use azure as the primary brand color with charcoal text for a clean SaaS identity. Create split-screen layouts with an azure panel on one side and white on the other for impactful above-the-fold sections. In icon design, azure provides excellent visibility against both light and dark backgrounds.

Every format

#040D15 Color Conversions

Every way to write Black Knight — one-tap copy on every format; tap on any card to learn what it is and when to use it.

12 formats
HEX Web
#040D15

Hexadecimal is the web’s universal color notation — two digits each for red, green and blue. Drop it straight into HTML, CSS or any design tool.

RGB Screen
rgb(4, 13, 21)

RGB is the additive Red-Green-Blue model every screen uses to emit light. The default choice for websites, apps and on-screen UI.

HSL Web
hsl(208, 68%, 5%)

HSL breaks a color into Hue, Saturation and Lightness — the most intuitive way to lighten, darken or mute a color in CSS.

HSV HSB Design
hsv(208, 81%, 8%)

HSV (also called HSB) maps Hue, Saturation and Value/Brightness. It is the model behind the color pickers in Photoshop, Figma and most design apps.

HWB CSS 4
hwb(208 2% 92%)

HWB blends a pure hue with Whiteness and Blackness — a painter-friendly model added in CSS Color 4 for quick tints and shades.

CMYK Print
cmyk(81%, 38%, 0%, 92%)

CMYK is the subtractive Cyan-Magenta-Yellow-Black ink model. Use these values when preparing artwork for a printer or commercial press.

OKLCH Modern
oklch(15.36% 0.023 242.83)

OKLCH is a modern, perceptually-uniform space (Lightness, Chroma, Hue). It powers smooth gradients and accessible palettes in today’s CSS.

OKLab Modern
oklab(15.36% -0.011 -0.021)

OKLab is the Cartesian form of OKLCH — ideal for blending and interpolating colors without the muddy midpoints older spaces produce.

CIELAB L*a*b* Perceptual
L: 3.32, a: -0.83, b: -5.19

CIELAB is a device-independent, perceptually-uniform space. It is the standard for measuring color difference (ΔE) and matching across devices.

LCH Perceptual
L: 3.32, C: 5.25, H: 260.92

LCH is CIELAB in cylindrical form — Lightness, Chroma and Hue — letting you adjust vividness and hue while staying perceptually even.

XYZ CIE Science
X: 0.33, Y: 0.37, Z: 0.76

CIE XYZ is the 1931 master space that underpins every other model here — the scientific bridge used to convert between color systems.

Decimal int Code
265493

The 24-bit integer value of the color — handy for databases, APIs, game engines and low-level graphics code.

Channel breakdown

RGB Color Percentages for #040D15

How much red, green and blue light mixes into Black Knight.

Red 4/255 10.5% Green 13/255 34.2% Blue 21/255 55.3%

Percentages show each channel's share of the total light (R + G + B) in Black Knight.

Ink coverage

CMYK Ink Levels & Print Guide for #040D15

Ink needed to reproduce Black Knight in four-color print. Heaviest ink: Key (Black).

81% CYAN 38% MAGENTA 0% YELLOW 92% KEY

Print tip: treat these values as a starting point — final output depends on printer profile, paper stock and calibration.

Accessibility · WCAG

Luminance & Contrast for #040D15

How bright Black Knight is, and how far black and white text clear each WCAG bar.

Relative luminance 0.004
0 · dark1 · light

Contrast ratio · 1:1 → 21:1 (log scale)

Aa Black text 1.07:1 ✕ AA ✕ AAA ✕ Large
Aa White text 19.56:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #040D15

Copy-and-paste CSS for Black Knight — per-line copy, or grab the whole block.

black-knight.css
background-color: #040D15;
color: #040D15;
border: 2px solid #040D15;
background-color: rgb(4, 13, 21);
background-color: hsl(208, 68%, 5%);
--color: #040D15;

Shades · light to dark

#040D15 Monochrome Palette

Lighter and darker steps of Black Knight — the color's full brightness range in one strip.

#E6E7E8
#C0C3C5
#9B9EA1
#757A7E
#4F565B
#2A3138
#040D15
#030B12
#03090F
#02070C
#020508
#010305
#000102

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 180° apart

#040D15 Complementary Palette

Two colors opposite on the wheel — maximum contrast for attention-grabbing accents.

#040D15
#150C04

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · adjacent hues

#040D15 Analogic Palette

Neighboring hues on the wheel — harmonious, calm combinations that feel unified.

#040D15
#040515
#041515
#0C0415
#04150C
#150415
#051504

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 120° apart

#040D15 Triadic Palette

Three colors evenly spaced on the wheel — vibrant and energetic, yet balanced.

#040D15
#15040D
#0D1504

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 90° apart

#040D15 Quad Palette

Four colors evenly spaced on the wheel (tetradic) — rich schemes with multiple accents.

#040D15
#150415
#150C04
#051504

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Accessibility

Color Blindness Simulation for #040D15

How Black Knight reads across five kinds of color vision — a ✓ Friendly verdict means the color difference stays distinguishable for that vision type.

#040D15
#070713
#080813
#041211
#0C0C0C
Normal vision full color Deuteranopia green weakness ✓ Friendly Protanopia red weakness ✓ Friendly Tritanopia blue-yellow weakness ✓ Friendly Achromatopsia total color blindness ✓ Friendly

The dot marks the original color. Hover any shade to copy its hex.

Harmony overview

Color Harmonies for #040D15

The lead color from each harmony scheme, side by side — a shortcut to the full palettes above.

#150C04
#040515
#15040D
#150415
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#040D15 Nearby Colors

A step away in brightness, richness or shade — each still feels like the same color.

Sunken Ship#112222
Obsidian Shard#000011
Black Velvet#222233
Oxford by Night#001122
Dreamless Sleep#111111
Black Stallion#001111
Corbeau#111122
Black#000000

From the color-name library

Colors Similar to #040D15

The closest named colors to #040D15 — same mood, each with its own character.

Black Knight#010B13
Dark Rift#060B14
Midnight Edition#0C121B
Midnight Oil#0B0C14
Eight Ball#03050A
Ruined Smores#0F1012
Narwhal Grey#080813
Dark Void#151517
Piano Black#17171A
Raven’s Coat#030205
Black Hole#010203
Dark Moon#161718

Looking for more Blue shades? Browse Blue colors →

Inspiration

Explore Vibrant Images Featuring Black Knight (#040d15)

Curated Unsplash photos that carry the mood of Black Knight — hover any tile to download it or view the original.

Good to know

Frequently Asked Questions about #040D15

#040D15 is a cool color from the Azure family. Its closest matched name is “Black Knight”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(4, 13, 21); in HSL, hsl(208, 68%, 5%).
In RGB, #040D15 is rgb(4, 13, 21); in HSL it is hsl(208, 68%, 5%); and in CMYK — the model used for print — it is cmyk(81%, 38%, 0%, 92%).
#040D15 has a contrast ratio of 1.07:1 against black and 19.56:1 against white. For readability, white body text meets the WCAG AA threshold of 4.5:1 on it, while black does not.
The direct complement of #040D15 is #150C04 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #040D15 in the palette sections above.