Colorise ProOKLCH Engine
ExploreStudioNamesPickerPairs
ExploreStudioNamesPickerPairsContrastExtract
Menu

Product

  • Home
  • Explore
  • Studio
  • Color Names

Tools

  • Picker
  • Color Pairs
  • Contrast
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings
Home/Colors/#2D2F46

Nearest named color · #2D2F46

#2D2F46

Nearest named color: Midnight Masquerade

#2D2F46 (rgb(45 47 70), hsl(235 22% 23%), oklch(0.314 0.041 279.9)) is closest to the named color Midnight Masquerade. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.

What does Blue mean? →

#2D2F46

oklch(0.314 0.041 279.9)

Color conversions

HEX
#2d2f46
RGB
rgb(45 47 70)
HSL
hsl(235 22% 23%)
HWB
hwb(235 18% 73%)
OKLCH
oklch(0.314 0.041 279.9)
OKLab
oklab(0.314 0.007 -0.041)
CIE Lab
lab(20.02 4.01 -14.78)
LCH
lch(20.02 15.31 285.2)
CMYK
cmyk(36% 33% 0% 73%)

Tints · Shades · Tones

Tints

  • 3F4157
  • 525468
  • 65677A
  • 797B8C
  • 8E909E
  • A4A5B1
  • BABBC4
  • D0D1D7
  • E8E8EB

Shades

  • 26273C
  • 1F2032
  • 181928
  • 11121E
  • 0B0C15
  • 06060D
  • 020305
  • 010102
  • 000000

Tones

  • 35374C
  • 3C3E51
  • 444657
  • 4C4E5D
  • 555663
  • 5D5E69
  • 66676E
  • 6E6F74
  • 77777A

Color harmonies

Complementary +180°

  • 2D2F46

    Midnight Masquerade

  • 363218

    ≈ Pullman Green

Analogous -30° +30°

  • 2D2F46

    Midnight Masquerade

  • 213346

    ≈ Crow Black

  • 382B41

    ≈ Obsidian Lava Black

Triadic +120° +240°

  • 2D2F46

    Midnight Masquerade

  • 432A21

    ≈ Night Brown

  • 1D382A

    ≈ Palm Green

Split-complementary +150° +210°

  • 2D2F46

    Midnight Masquerade

  • 3F2E19

    ≈ Cola

  • 2A361F

    ≈ Rangitoto

Tetradic +90° +180° +270°

  • 2D2F46

    Midnight Masquerade

  • 44282C

    ≈ Nisemurasaki Purple

  • 363218

    ≈ Pullman Green

  • 143836

    ≈ Fait Accompli

Contrast & accessibility

Ag

On white

WCAG 13.07:1 · APCA Lc 99

AAA
Ag

On black

WCAG 1.60:1 · APCA Lc 0

Fail

Best text color: #FFFFFF

WCAG 13.07:1 (AAA) · APCA Lc 99

Contrast pairs

  • #2D2F46 / #FFFFFF
  • #2D2F46 / #000000
  • #FFFFFF / #2D2F46
  • #000000 / #2D2F46

Code snippets

CSS

:root {
  --midnight-masquerade: #2d2f46;
  --midnight-masquerade-rgb: 45 47 70;
  --midnight-masquerade-oklch: oklch(0.314 0.041 279.9);
}

.element {
  color: var(--midnight-masquerade);
  background-color: hsl(235 22% 23%);
  border-color: oklch(0.314 0.041 279.9);
}

Tailwind CSS v4

@theme {
  --color-midnight-masquerade: #2d2f46;
  --color-midnight-masquerade-50: #f3f4ff;
  --color-midnight-masquerade-100: #e5e7f6;
  --color-midnight-masquerade-200: #d1d3e6;
  --color-midnight-masquerade-300: #b3b5cd;
  --color-midnight-masquerade-400: #999cb7;
  --color-midnight-masquerade-500: #8084a2;
  --color-midnight-masquerade-600: #6d6f89;
  --color-midnight-masquerade-700: #57596d;
  --color-midnight-masquerade-800: #3f4151;
  --color-midnight-masquerade-900: #2b2d38;
  --color-midnight-masquerade-950: #191a23;
}

SCSS

$midnight-masquerade: #2d2f46;
$midnight-masquerade-rgb: 45, 47, 70;
$midnight-masquerade-light: mix(#fff, $midnight-masquerade, 20%);
$midnight-masquerade-dark: mix(#000, $midnight-masquerade, 20%);

.element {
  color: $midnight-masquerade;
  box-shadow: 0 0 0 2px rgba($midnight-masquerade, 0.35);
}

Similar named colors

  • 2C2E47

    Midnight Masquerade

  • 2F2F48

    Black Blueberry

  • 2D3146

    Peacoat

  • 2B2F43

    Blue Exult

  • 2A2E44

    Sea Going

  • 303048

    Blue Regal

  • 2D3145

    Maritime Blue

  • 2A3149

    Ahoy

  • 2F2F4A

    Wild Iris

  • 292E44

    Latin Charm

  • 313048

    Plum Fuzz

  • 2B3042

    Black Iris

Palettes with this color

  • Beefy Pink PulsePink · Gray

Palettes with similar colors

  • Bright Neon Boneyard StudioPink · Gray
  • True Wizard’s Potion EmberPink · Gray
  • Blue Lips EmberViolet · Gray
  • True Beefy Pink LatticePink · Gray
  • Pure Honolulu Blue QuartzTrending · Violet
  • Classic Viola SystemPink · Dark Mode UI

Open in tools

PickerPairsContrast checkerStudioJSON API
Colorise Pro

Free OKLCH color workspace: precision color picker, color pairs, WCAG & APCA contrast checker, palette from image, Studio systems, names, gradients, and brand tools. Export HEX, CSS, Tailwind & DTCG.

OKLCH Engine

Product

  • Home
  • Explore
  • Studio
  • Color Names
  • Color Codes

Tools

  • Color Picker
  • Color Pairs
  • Contrast Checker
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL
  • For presentations
  • For business cards
  • For SaaS landings
  • Duo pairs
  • Trio systems

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings

Legal

  • Privacy
  • Terms

© 2026 Colorise Pro. All rights reserved.

© 2026 Colorise Pro. Built for precision color work.

Report infringement: [email protected] (Colorise Pro)

PrivacyTermsOKLCH · WCAG · APCA