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/#020C1A

Nearest named color · #020C1A

#020C1A

Nearest named color: Midnight Edition

#020C1A (rgb(2 12 26), hsl(215 86% 5%), oklch(0.152 0.036 251.7)) 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? →

#020C1A

oklch(0.152 0.036 251.7)

Color conversions

HEX
#020c1a
RGB
rgb(2 12 26)
HSL
hsl(215 86% 5%)
HWB
hwb(215 1% 90%)
OKLCH
oklch(0.152 0.036 251.7)
OKLab
oklab(0.152 -0.011 -0.034)
CIE Lab
lab(3.07 -0.47 -9.31)
LCH
lch(3.07 9.32 267.1)
CMYK
cmyk(92% 54% 0% 90%)

Tints · Shades · Tones

Tints

  • 131F2D
  • 293442
  • 404B57
  • 58626D
  • 727A84
  • 8C939B
  • A8ADB3
  • C4C8CC
  • E1E3E5

Shades

  • 010915
  • 010610
  • 01040C
  • 000307
  • 000204
  • 000102
  • 000001
  • 000000
  • 000000

Tones

  • 0A1623
  • 15212D
  • 212B37
  • 2E3741
  • 3B424B
  • 484E55
  • 555A60
  • 63666A
  • 717375

Color harmonies

Complementary +180°

  • 020C1A

    Midnight Edition

  • 140900

    ≈ Asphalt

Analogous -30° +30°

  • 020C1A

    Midnight Edition

  • 000E14

    ≈ Black Knight

  • 09091A

    ≈ Not Tonight

Triadic +120° +240°

  • 020C1A

    Midnight Edition

  • 180508

    ≈ Noir Fiction

  • 060E01

    ≈ Whiten’t

Split-complementary +150° +210°

  • 020C1A

    Midnight Edition

  • 180602

    ≈ Soy Sauce

  • 0E0C00

    ≈ Whiten’t

Tetradic +90° +180° +270°

  • 020C1A

    Midnight Edition

  • 150610

    ≈ Noir Fiction

  • 140900

    ≈ Asphalt

  • 001007

    ≈ Blackn’t

Contrast & accessibility

Ag

On white

WCAG 19.62:1 · APCA Lc 106

AAA
Ag

On black

WCAG 1.07:1 · APCA Lc 0

Fail

Best text color: #FFFFFF

WCAG 19.62:1 (AAA) · APCA Lc 106

Contrast pairs

  • #020C1A / #FFFFFF
  • #020C1A / #000000
  • #FFFFFF / #020C1A
  • #000000 / #020C1A

Code snippets

CSS

:root {
  --midnight-edition: #020c1a;
  --midnight-edition-rgb: 2 12 26;
  --midnight-edition-oklch: oklch(0.152 0.036 251.7);
}

.element {
  color: var(--midnight-edition);
  background-color: hsl(215 86% 5%);
  border-color: oklch(0.152 0.036 251.7);
}

Tailwind CSS v4

@theme {
  --color-midnight-edition: #020c1a;
  --color-midnight-edition-50: #eef6ff;
  --color-midnight-edition-100: #e0e9f4;
  --color-midnight-edition-200: #cad5e4;
  --color-midnight-edition-300: #abb9ca;
  --color-midnight-edition-400: #90a0b3;
  --color-midnight-edition-500: #75889e;
  --color-midnight-edition-600: #637385;
  --color-midnight-edition-700: #4f5c6b;
  --color-midnight-edition-800: #39444e;
  --color-midnight-edition-900: #272f37;
  --color-midnight-edition-950: #151b21;
}

SCSS

$midnight-edition: #020c1a;
$midnight-edition-rgb: 2, 12, 26;
$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

  • 060B14

    Dark Rift

  • 010B13

    Black Knight

  • 01081C

    Melanophobia

  • 080813

    Narwhal Grey

  • 0B0C14

    Midnight Oil

  • 001122

    Kuretake Black Manga

  • 0B0F1A

    Nyctophobia

  • 0C0C1F

    Tristesse

  • 050D25

    Void

  • 090615

    Not Tonight

  • 070D0D

    Dark Side of the Moon

  • 001111

    Black Glaze

Palettes with this color

  • Haddock’s Sweater LedgerViolet · Cold

Palettes with similar colors

  • True Matt Blue GardenViolet · Cold
  • Classic Candy Grape Fizz QuartzPink · Rainbow
  • Canadian Tuxedo MeadowViolet · Cold
  • Steady Haddock’s Sweater DeltaTrending · Violet
  • Pure Honolulu Blue GlacierViolet · Cold
  • Brilliant Blue GlacierViolet · 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