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
Trang chủ/Màu sắc/#040C18

Màu có tên gần nhất · #040C18

#040C18

Màu có tên gần nhất: Midnight Edition

#040C18 (rgb(4 12 24), hsl(216 71% 5%), oklch(0.153 0.03 254.8)) gần nhất với màu có tên Midnight Edition. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.

What does Gray mean? →

#040C18

oklch(0.153 0.03 254.8)

Chuyển đổi màu

HEX
#040c18
RGB
rgb(4 12 24)
HSL
hsl(216 71% 5%)
HWB
hwb(216 2% 91%)
OKLCH
oklch(0.153 0.03 254.8)
OKLab
oklab(0.153 -0.008 -0.029)
CIE Lab
lab(3.12 -0.34 -7.63)
LCH
lch(3.12 7.64 267.5)
CMYK
cmyk(83% 50% 0% 91%)

Sắc nhạt · Sắc đậm · Sắc xám

Sắc nhạt

  • 161F2B
  • 2B3440
  • 424A55
  • 5A626B
  • 737A82
  • 8E939A
  • A9ADB2
  • C5C8CB
  • E2E3E5

Sắc đậm

  • 030913
  • 02060F
  • 01040A
  • 010307
  • 000204
  • 000102
  • 000001
  • 000000
  • 000000

Sắc xám

  • 0D1621
  • 18202B
  • 242B35
  • 30363F
  • 3C4249
  • 494E54
  • 565A5F
  • 64666A
  • 727375

Hòa sắc

Bổ túc +180°

  • 040C18

    Midnight Edition

  • 130A01

    ≈ Asphalt

Tương đồng -30° +30°

  • 040C18

    Midnight Edition

  • 000E15

    ≈ Black Knight

  • 0A0A18

    ≈ Midnight Oil

Bộ ba +120° +240°

  • 040C18

    Midnight Edition

  • 160608

    ≈ Chyornyi Black

  • 060E03

    ≈ Whiten’t

Bổ túc chia +150° +210°

  • 040C18

    Midnight Edition

  • 160703

    ≈ Asphalt

  • 0E0C01

    ≈ Whiten’t

Bộ bốn +90° +180° +270°

  • 040C18

    Midnight Edition

  • 14070F

    ≈ Noir Fiction

  • 130A01

    ≈ Asphalt

  • 011008

    ≈ Jedi Night

Tương phản và khả năng tiếp cận

Ag

Trên nền trắng

WCAG 19.60:1 · APCA Lc 106

AAA
Ag

Trên nền đen

WCAG 1.07:1 · APCA Lc 0

Fail

Màu chữ tốt nhất: #FFFFFF

WCAG 19.60:1 (AAA) · APCA Lc 106

Contrast pairs

  • #040C18 / #FFFFFF
  • #040C18 / #000000
  • #FFFFFF / #040C18
  • #000000 / #040C18

Đoạn mã

CSS

:root {
  --midnight-edition: #040c18;
  --midnight-edition-rgb: 4 12 24;
  --midnight-edition-oklch: oklch(0.153 0.03 254.8);
}

.element {
  color: var(--midnight-edition);
  background-color: hsl(216 71% 5%);
  border-color: oklch(0.153 0.03 254.8);
}

Tailwind CSS v4

@theme {
  --color-midnight-edition: #040c18;
  --color-midnight-edition-50: #f0f6fe;
  --color-midnight-edition-100: #e2e8f2;
  --color-midnight-edition-200: #ccd5e1;
  --color-midnight-edition-300: #aeb8c7;
  --color-midnight-edition-400: #93a0b0;
  --color-midnight-edition-500: #79889a;
  --color-midnight-edition-600: #677382;
  --color-midnight-edition-700: #525c68;
  --color-midnight-edition-800: #3b434d;
  --color-midnight-edition-900: #292e35;
  --color-midnight-edition-950: #161b20;
}

SCSS

$midnight-edition: #040c18;
$midnight-edition-rgb: 4, 12, 24;
$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);
}

Các màu có tên tương tự

  • 060B14

    Dark Rift

  • 010B13

    Black Knight

  • 0B0C14

    Midnight Oil

  • 080813

    Narwhal Grey

  • 0B0F1A

    Nyctophobia

  • 01081C

    Melanophobia

  • 0C0C1F

    Tristesse

  • 001122

    Kuretake Black Manga

  • 090615

    Not Tonight

  • 070D0D

    Dark Side of the Moon

  • 050D25

    Void

  • 0C121B

    Midnight Edition

Palettes with this color

  • Starstruck FogViolet · Cold

Palettes with similar colors

  • Steady Song of the Sea VaultViolet · Cold
  • True Jealous Jellyfish DriftRed · Warm
  • Steady Muted Blue StudioViolet · Cold
  • True Hot Curry CircuitGreen · Gray
  • Pure Starstruck PulseViolet · Cold
  • Loch Ness CanvasPink · 9 Colors

Mở trong công cụ

Bộ chọnCặp màuKiểm tra tương phảnStudioJSON 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