Closest web-safe match: #330033

Color Details and Palettes for #1A172D

Details about the color Dark Knight#1A172D

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

Blue family Cool WCAG ink: white
HEX #1A172D RGB rgb(26, 23, 45) HSL hsl(248, 32%, 13%) CMYK cmyk(42%, 49%, 0%, 82%)

Color profile

About Color Hex #1A172D

#1A172D is a cool color from the Blue family, closest in name to “Dark Knight”. In RGB it is rgb(26, 23, 45); in HSL, hsl(248, 32%, 13%).

The color Dark Knight, with hexadecimal code #1a172d, 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. With a moderate saturation of 32%, it has a softened, muted quality that lends sophistication and works well for backgrounds and secondary elements. At only 13% 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 26, 23, 45 red · green · blue HSL 248° 32% 13% hue · sat · light HSV 248° 49% 18% design-app pickers CMYK 42 49 0 82 print inks, % Luminance 0.010 0 dark → 1 light On black 1.20:1 ✕ AA contrast ratio On white 17.44:1 ✓ AA contrast ratio Web-safe #330033 closest web-safe Best text white ideal foreground Character Vivid cool · blue family

The story of this color

History, Usage, Psychology & Design Ideas for #1A172D

Dark Knight (#1A172D) belongs to the Blue 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

Blue's scarcity in nature made it a late addition to human color vocabulary—Homer's 'wine-dark sea' notably omits the word blue entirely. The breakthrough came with Egyptian Blue (~2200 BC) and later ultramarine from Afghan lapis lazuli, which Medieval artists hoarded for divine subjects. Synthetic ultramarine (1826) and cobalt blue democratized the color, enabling Impressionists like Monet and Renoir to paint blue-drenched landscapes affordably.

Design & Usage Tips

Blue is the most universally liked color and dominates corporate branding (Facebook, LinkedIn, IBM, Samsung). Use it to establish trust, competence, and professionalism. Lighter blues suit wellness and social apps, while darker blues convey authority and security. Avoid using blue for food branding—it suppresses appetite.

Sitting on the cool side of the spectrum (hue 248°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. At 32% saturation, the color has a muted, sophisticated quality that pairs well with bolder accents. It works as a background, a border, or a secondary element in layered compositions.

Psychological Impact

Blue lowers blood pressure and heart rate, promoting calm and focused thought. It signals reliability and integrity, which is why it is the default choice for banks, insurance companies, and government institutions. In UX, blue links and buttons feel intuitive because users have been trained by decades of web convention.

At just 13% 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

Pair classic blue (#0047AB) with warm amber for a nautical or heritage brand. Use gradient blues (light-to-dark, top-to-bottom) for app onboarding screens that feel expansive and inviting. In data dashboards, blue is the safest primary chart color—it's distinct, professional, and colorblind-friendly.

Every format

#1A172D Color Conversions

Every way to write Dark 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
#1A172D

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(26, 23, 45)

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(248, 32%, 13%)

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(248, 49%, 18%)

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(248 9% 82%)

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(42%, 49%, 0%, 82%)

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(22.02% 0.042 288.67)

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

OKLab Modern
oklab(22.02% 0.014 -0.040)

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: 9.17, a: 8.12, b: -14.31

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

LCH Perceptual
L: 9.17, C: 16.46, H: 299.57

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

XYZ CIE Science
X: 1.21, Y: 1.02, Z: 2.62

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
1709869

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 #1A172D

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

Red 26/255 27.7% Green 23/255 24.5% Blue 45/255 47.9%

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

Ink coverage

CMYK Ink Levels & Print Guide for #1A172D

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

42% CYAN 49% MAGENTA 0% YELLOW 82% 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 #1A172D

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

Relative luminance 0.010
0 · dark1 · light

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

Aa Black text 1.20:1 ✕ AA ✕ AAA ✕ Large
Aa White text 17.44:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #1A172D

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

dark-knight.css
background-color: #1A172D;
color: #1A172D;
border: 2px solid #1A172D;
background-color: rgb(26, 23, 45);
background-color: hsl(248, 32%, 13%);
--color: #1A172D;

Shades · light to dark

#1A172D Monochrome Palette

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

#E8E8EA
#C6C5CB
#A3A2AB
#817F8C
#5F5D6C
#3C3A4D
#1A172D
#161426
#12101F
#0E0D19
#0A0912
#07060B
#030205

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

Harmony · 180° apart

#1A172D Complementary Palette

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

#1A172D
#292C17

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

Harmony · adjacent hues

#1A172D Analogic Palette

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

#1A172D
#24172C
#171E2C
#2C1729
#17292C
#2C171E
#172C24

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

Harmony · 120° apart

#1A172D Triadic Palette

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

#1A172D
#2C1917
#172C19

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

Harmony · 90° apart

#1A172D Quad Palette

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

#1A172D
#2C171E
#292C17
#172C24

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

Accessibility

Color Blindness Simulation for #1A172D

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

#1A172D
#191926
#191928
#1A2323
#191919
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 #1A172D

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

#292C17
#24172C
#2C1917
#2C171E
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#1A172D Nearby Colors

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

Black Velvet#222233
Midnight Monarch#110022
Shuriken#333344
Mysterious Depths#000022
Infinite Night#111133
Shot in the Dark#221122
Midnight Monarch#221133
The Count’s Black#112233

From the color-name library

Colors Similar to #1A172D

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

Dark Knight#151931
Corbeau#111122
Eclipse Elixir#1F2133
Black Velvet#222233
Nightwalker#161D3B
Sombre Night#161E34
Mysterious Depths#060929
Black Market#222244
Void#050D25
Midnight Velvet#2A2243
Midnight Express#21263A
Squid’s Ink#041330

Looking for more Blue shades? Browse Blue colors →

Inspiration

Explore Vibrant Images Featuring Dark Knight (#1a172d)

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

Good to know

Frequently Asked Questions about #1A172D

#1A172D is a cool color from the Blue family. Its closest matched name is “Dark Knight”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(26, 23, 45); in HSL, hsl(248, 32%, 13%).
In RGB, #1A172D is rgb(26, 23, 45); in HSL it is hsl(248, 32%, 13%); and in CMYK — the model used for print — it is cmyk(42%, 49%, 0%, 82%).
#1A172D has a contrast ratio of 1.20:1 against black and 17.44: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 #1A172D is #292C17 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #1A172D in the palette sections above.