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/#041222

Nearest named color · #041222

#041222

Nearest named color: Midnight Edition

#041222 (rgb(4 18 34), hsl(212 79% 7%), oklch(0.179 0.039 251.4)) is closest to the named color Midnight Edition. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.

What does Blue mean? →

#041222

oklch(0.179 0.039 251.4)

Color conversions

HEX
#041222
RGB
rgb(4 18 34)
HSL
hsl(212 79% 7%)
HWB
hwb(212 2% 87%)
OKLCH
oklch(0.179 0.039 251.4)
OKLab
oklab(0.179 -0.013 -0.037)
CIE Lab
lab(5.04 -0.93 -12.58)
LCH
lch(5.04 12.62 265.8)
CMYK
cmyk(88% 47% 0% 87%)

Tints · Shades · Tones

Tints

  • 172535
  • 2D3A49
  • 44505D
  • 5C6773
  • 757E89
  • 8F979F
  • AAB0B7
  • C5CACE
  • E2E4E6

Shades

  • 030E1C
  • 020A16
  • 010711
  • 01040B
  • 000207
  • 000103
  • 000101
  • 000000
  • 000000

Tones

  • 0E1C2B
  • 192634
  • 25303D
  • 313B46
  • 3D464F
  • 4A5159
  • 575C62
  • 64686C
  • 727476

Color harmonies

Complementary +180°

  • 041222

    Midnight Edition

  • 1C0E00

    ≈ Super Black

Analogous -30° +30°

  • 041222

    Midnight Edition

  • 00141C

    ≈ Kuretake Black Manga

  • 0F0F22

    ≈ Corbeau

Triadic +120° +240°

  • 041222

    Midnight Edition

  • 20090D

    ≈ Italian Roast

  • 0B1503

    ≈ Oil Slick

Split-complementary +150° +210°

  • 041222

    Midnight Edition

  • 1F0B04

    ≈ Severely Burnt Toast

  • 151200

    ≈ Chinese Black

Tetradic +90° +180° +270°

  • 041222

    Midnight Edition

  • 1D0A16

    ≈ Shot in the Dark

  • 1C0E00

    ≈ Super Black

  • 00170C

    ≈ Oil Slick

Contrast & accessibility

Ag

On white

WCAG 18.83:1 · APCA Lc 105

AAA
Ag

On black

WCAG 1.11:1 · APCA Lc 0

Fail

Best text color: #FFFFFF

WCAG 18.83:1 (AAA) · APCA Lc 105

Contrast pairs

  • #041222 / #FFFFFF
  • #041222 / #000000
  • #FFFFFF / #041222
  • #000000 / #041222

Code snippets

CSS

:root {
  --midnight-edition: #041222;
  --midnight-edition-rgb: 4 18 34;
  --midnight-edition-oklch: oklch(0.179 0.039 251.4);
}

.element {
  color: var(--midnight-edition);
  background-color: hsl(212 79% 7%);
  border-color: oklch(0.179 0.039 251.4);
}

Tailwind CSS v4

@theme {
  --color-midnight-edition: #041222;
  --color-midnight-edition-50: #eef6ff;
  --color-midnight-edition-100: #dfe9f5;
  --color-midnight-edition-200: #c9d6e5;
  --color-midnight-edition-300: #aab9cc;
  --color-midnight-edition-400: #8ea1b6;
  --color-midnight-edition-500: #7388a0;
  --color-midnight-edition-600: #627387;
  --color-midnight-edition-700: #4e5c6c;
  --color-midnight-edition-800: #384450;
  --color-midnight-edition-900: #262f37;
  --color-midnight-edition-950: #151b22;
}

SCSS

$midnight-edition: #041222;
$midnight-edition-rgb: 4, 18, 34;
$midnight-edition-light: mix(#fff, $midnight-edition, 20%);
$midnight-edition-dark: mix(#000, $midnight-edition, 20%);

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

Similar named colors

  • 001122

    Kuretake Black Manga

  • 041723

    Creeping Death

  • 0C121B

    Midnight Edition

  • 0B0F1A

    Nyctophobia

  • 050D25

    Void

  • 111122

    Corbeau

  • 0C0C1F

    Tristesse

  • 041330

    Squid’s Ink

  • 0F1519

    Black Is Back

  • 14151D

    Kuroi Black

  • 0B0C14

    Midnight Oil

  • 15151C

    Absence of Light

Palettes with this color

  • Pure Dark Blue TideViolet · Cold

Palettes with similar colors

  • Pure Harem Silk HarborViolet · Cold
  • Steady Muted Blue NexusViolet · Cold
  • Dusk Galaxy Blue BloomViolet · Cold
  • Steady Haddock’s Sweater DriftViolet · Cold
  • Steady Blue Velvet NexusViolet · Cold
  • Classic Zenith MeadowViolet · Cold

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