Color detail

Midnight
#0B171E

Midnight (#0B171E) with RGB(11, 23, 30) and HSL(202, 46%, 8%). Suitable for modern interface themes, branding accents, and design systems.

CyanInkcool
Interactive

UI Sandbox

Project Dashboard
Active theme: Midnight
Values

Production-ready color values

Copy formats for CSS, handoff docs, tokens, and implementation.

HEX
#0B171E
RGB
rgb(11, 23, 30)
HSL
hsl(202, 46%, 8%)
HSV
hsv(202, 63%, 12%)
CMYK
cmyk(63%, 23%, 0%, 88%)
Decimal
726814
Contrast

Accessibility checks

Aa
On white
18.17:1
Aa
On black
1.16:1
Accessibility

Contrast Audit

On White
WCAG AA PASS
Text
18.17:1
On Black
FAIL
Text
1.16:1
Vision

Simulator

protanopia
deuteranopia
tritanopia
Harmonies

Palette combinations from this base color

Open any harmony as a shareable palette route and keep refining from there.

Analysis

Design expert profile

Detailed psychological and professional strategy for this specific tone.

Midnight (#0B171E) with RGB(11, 23, 30) and HSL(202, 46%, 8%). Suitable for modern interface themes, branding accents, and design systems.
cyaninkcoolhex-0b171eh-202s-46l-8
Region

Language

Developer Handoff

Copy for any framework

CSS
/* Midnight */
color: #0B171E;
background-color: #0B171E;
border-color: #0B171E;
box-shadow: 0 4px 24px #0b171e40;
Tailwind CSS
bg-[#0B171E] text-[#0B171E] border-[#0B171E] ring-[#0B171E]
SwiftUI
Color(red: 0.043, green: 0.090, blue: 0.118)
Flutter / Dart
Color(0xFF0B171E)
Android XML
<color name="midnight">#0B171E</color>
React Native
{ color: '#0B171E' }
Social Media

Share this color

Beautiful swatches optimized for Pinterest, Instagram, and design moodboards.

DRAFTHUE.CO

Midnight

#0B171E·rgb(11, 23, 30)

Tip: Screenshots of this card are optimized for Pinterest (4:5 ratio).

Brand Match

Closest real-world color

Sherwin-Williams
Tricorn Black
SW 6258 · #2B2B2D
View this color →
About

About Midnight

This section gives the same kind of richer color context you’d expect from a dedicated color reference page.

Meaning
Midnight sits in the cyan family with a ink tone, so it grounds darker surfaces. It reads as calm, credible, and interface-friendly.
Applications
Midnight (#0B171E) with RGB(11, 23, 30) and HSL(202, 46%, 8%). Suitable for modern interface themes, branding accents, and design systems. It performs better as text or iconography on lighter contexts when paired carefully.
Family
Cyan
Tone
Ink
Temperature
cool
Keywords
cyan, ink, cool, hex-0b171e, h-202, s-46
Conversion

Color conversions

Use these values in CSS, product docs, design tokens, and print-oriented workflows.

HEX
#0B171E
RGB
rgb(11, 23, 30)
HSL
hsl(202, 46%, 8%)
HSV
hsv(202, 63%, 12%)
CMYK
cmyk(63%, 23%, 0%, 88%)
Variations

Shades and tonal variations

Build softer surfaces, deeper states, and a cleaner tonal system from the same base hue.

900
#0B171E
800
#152B38
700
#22485D
600
#306482
500
#3E81A8
400
#579AC1
Color harmonies

Harmony-based palette routes

Move from a single color into full palette ideas based on common harmony systems.

Blindness simulator

Color blindness preview

These simulations help you judge whether the color keeps enough identity across common color-vision variations.

Protanopia
#10101C
Red-sensitive cones are reduced, so warm reds and greens can collapse toward similar mid-tones.
Deuteranopia
#100F1C
Green-sensitive cones are reduced, which often compresses green and red distinctions.
Tritanopia
#0C1B1B
Blue-sensitive cones are reduced, which shifts blues and yellows toward flatter blends.
Contrast checker

Accessibility contrast snapshots

Use these quick checks to understand where the color is more reliable for text, icons, and UI foregrounds.

Aa
On white
18.17:1
AAA passes for normal text.
Aa
On black
1.16:1
Fails normal and large text guidance.
Similar colors

Nearby color references

Use nearby colors when you want alternatives with a similar overall feel but a different hue or intensity.

Color libraries

Library-ready mappings

These mappings help you slot the color into CSS names, Tailwind-like scales, and semantic design tokens faster.

CSS named match
Midnight
Closest standard CSS name to #0B171E for developer-friendly reference and docs.
Design token
--color-cyan-ink
A token-friendly alias you can use in design systems, Tailwind maps, or CSS variables.
Tailwind-friendly scale
cyan-500
A naming pattern that fits Tailwind-style scale systems and keeps #0B171E as the core value.
HSL token
202 46% 8%
Useful when your component library or theme layer stores semantic colors in HSL channels.