Color detail

Midnight Navy
#2F0E58

Midnight Navy (#2F0E58) with RGB(47, 14, 88) and HSL(267, 73%, 20%). Suitable for modern interface themes, branding accents, and design systems.

VioletDeepcool
Interactive

UI Sandbox

Project Dashboard
Active theme: Midnight Navy
Values

Production-ready color values

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

HEX
#2F0E58
RGB
rgb(47, 14, 88)
HSL
hsl(267, 73%, 20%)
HSV
hsv(267, 84%, 35%)
CMYK
cmyk(47%, 84%, 0%, 65%)
Decimal
3083864
Contrast

Accessibility checks

Aa
On white
15.85:1
Aa
On black
1.32:1
Accessibility

Contrast Audit

On White
WCAG AA PASS
Text
15.85:1
On Black
FAIL
Text
1.32: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 Navy (#2F0E58) with RGB(47, 14, 88) and HSL(267, 73%, 20%). Suitable for modern interface themes, branding accents, and design systems.
violetdeepcoolhex-2f0e58h-267s-73l-20
Region

Language

Developer Handoff

Copy for any framework

CSS
/* Midnight Navy */
color: #2F0E58;
background-color: #2F0E58;
border-color: #2F0E58;
box-shadow: 0 4px 24px #2f0e5840;
Tailwind CSS
bg-[#2F0E58] text-[#2F0E58] border-[#2F0E58] ring-[#2F0E58]
SwiftUI
Color(red: 0.184, green: 0.055, blue: 0.345)
Flutter / Dart
Color(0xFF2F0E58)
Android XML
<color name="midnight_navy">#2F0E58</color>
React Native
{ color: '#2F0E58' }
Social Media

Share this color

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

DRAFTHUE.CO

Midnight Navy

#2F0E58·rgb(47, 14, 88)

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 Navy

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

Meaning
Midnight Navy sits in the violet family with a deep tone, so it grounds darker surfaces. It reads as calm, credible, and interface-friendly.
Applications
Midnight Navy (#2F0E58) with RGB(47, 14, 88) and HSL(267, 73%, 20%). Suitable for modern interface themes, branding accents, and design systems. It performs better as text or iconography on lighter contexts when paired carefully.
Family
Violet
Tone
Deep
Temperature
cool
Keywords
violet, deep, cool, hex-2f0e58, h-267, s-73
Conversion

Color conversions

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

HEX
#2F0E58
RGB
rgb(47, 14, 88)
HSL
hsl(267, 73%, 20%)
HSV
hsv(267, 84%, 35%)
CMYK
cmyk(47%, 84%, 0%, 65%)
Variations

Shades and tonal variations

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

900
#130623
800
#230A42
700
#3B116E
600
#53189A
500
#6A1FC7
400
#8438E0
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
#212046
Red-sensitive cones are reduced, so warm reds and greens can collapse toward similar mid-tones.
Deuteranopia
#232542
Green-sensitive cones are reduced, which often compresses green and red distinctions.
Tritanopia
#2D3835
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
15.85:1
AAA passes for normal text.
Aa
On black
1.32: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 Navy
Closest standard CSS name to #2F0E58 for developer-friendly reference and docs.
Design token
--color-violet-deep
A token-friendly alias you can use in design systems, Tailwind maps, or CSS variables.
Tailwind-friendly scale
violet-500
A naming pattern that fits Tailwind-style scale systems and keeps #2F0E58 as the core value.
HSL token
267 73% 20%
Useful when your component library or theme layer stores semantic colors in HSL channels.