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/#0C040F

Nearest named color · #0C040F

#0C040F

Nearest named color: Obsidian Shard

#0C040F (rgb(12 4 15), hsl(284 58% 4%), oklch(0.13 0.031 317.8)) is closest to the named color Obsidian Shard. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.

What does Gray mean? →

#0C040F

oklch(0.13 0.031 317.8)

Color conversions

HEX
#0c040f
RGB
rgb(12 4 15)
HSL
hsl(284 58% 4%)
HWB
hwb(284 2% 94%)
OKLCH
oklch(0.13 0.031 317.8)
OKLab
oklab(0.13 0.023 -0.021)
CIE Lab
lab(1.79 3.42 -3.68)
LCH
lch(1.79 5.02 312.9)
CMYK
cmyk(20% 73% 0% 94%)

Tints · Shades · Tones

Tints

  • 1F1622
  • 342B37
  • 4A424D
  • 615A64
  • 7A737C
  • 938D95
  • ADA9AE
  • C8C5C9
  • E3E1E3

Shades

  • 09030B
  • 060208
  • 040105
  • 030103
  • 020102
  • 010001
  • 000000
  • 000000
  • 000000

Tones

  • 160D19
  • 201823
  • 2B232E
  • 362F39
  • 423C44
  • 4E494F
  • 5A565B
  • 666467
  • 737273

Color harmonies

Complementary +180°

  • 0C040F

    Obsidian Shard

  • 030A01

    ≈ Melanous

Analogous -30° +30°

  • 0C040F

    Obsidian Shard

  • 070513

    ≈ Not Tonight

  • 100309

    ≈ Knight Rider

Triadic +120° +240°

  • 0C040F

    Obsidian Shard

  • 0D0600

    ≈ Blackout

  • 000A0A

    ≈ Black Knight

Split-complementary +150° +210°

  • 0C040F

    Obsidian Shard

  • 080800

    ≈ Blackout

  • 000A06

    ≈ Whiten’t

Tetradic +90° +180° +270°

  • 0C040F

    Obsidian Shard

  • 110401

    ≈ Blackout

  • 030A01

    ≈ Melanous

  • 00090F

    ≈ Black Knight

Contrast & accessibility

Ag

On white

WCAG 20.19:1 · APCA Lc 106

AAA
Ag

On black

WCAG 1.03:1 · APCA Lc 0

Fail

Best text color: #FFFFFF

WCAG 20.19:1 (AAA) · APCA Lc 106

Contrast pairs

  • #0C040F / #FFFFFF
  • #0C040F / #000000
  • #FFFFFF / #0C040F
  • #000000 / #0C040F

Code snippets

CSS

:root {
  --obsidian-shard: #0c040f;
  --obsidian-shard-rgb: 12 4 15;
  --obsidian-shard-oklch: oklch(0.13 0.031 317.8);
}

.element {
  color: var(--obsidian-shard);
  background-color: hsl(284 58% 4%);
  border-color: oklch(0.13 0.031 317.8);
}

Tailwind CSS v4

@theme {
  --color-obsidian-shard: #0c040f;
  --color-obsidian-shard-50: #f9f2fb;
  --color-obsidian-shard-100: #ede5ee;
  --color-obsidian-shard-200: #dad0dd;
  --color-obsidian-shard-300: #bfb3c1;
  --color-obsidian-shard-400: #a699ab;
  --color-obsidian-shard-500: #8f8094;
  --color-obsidian-shard-600: #796c7d;
  --color-obsidian-shard-700: #615764;
  --color-obsidian-shard-800: #473f4a;
  --color-obsidian-shard-900: #312c33;
  --color-obsidian-shard-950: #1d191f;
}

SCSS

$obsidian-shard: #0c040f;
$obsidian-shard-rgb: 12, 4, 15;
$obsidian-shard-light: mix(#fff, $obsidian-shard, 20%);
$obsidian-shard-dark: mix(#000, $obsidian-shard, 20%);

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

Similar named colors

  • 090615

    Not Tonight

  • 060310

    Broken Tube

  • 080813

    Narwhal Grey

  • 060313

    Obsidian Shard

  • 110011

    Glossy Black

  • 0F0809

    Chyornyi Black

  • 0F0707

    Knight Rider

  • 03050A

    Eight Ball

  • 0B0119

    Midnight Jam

  • 080808

    Reversed Grey

  • 150811

    Noir Fiction

  • 060606

    Black Metal

Palettes with this color

  • Irish Clover BriefGreen · Gray

Palettes with similar colors

  • Classic Fuchsia Pheromone KilnPink · 5 Colors
  • True Fuchsia Pheromone VaultPink · Rainbow
  • Steady Purple Sultan CascadeRed · Warm
  • Prunella RibbonTrending · Red
  • Poblano VaultGreen · 3 Colors
  • Steady Fuchsia Pheromone SignalPink · 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