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
首页/颜色/#04170F

最接近的命名颜色 · #04170F

#04170F

最接近的命名颜色: Cosmic Bit Flip

#04170F(rgb(4 23 15)、hsl(155 70% 5%)、oklch(0.185 0.031 164.5))最接近命名颜色 Cosmic Bit Flip。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。

What does Gray mean? →

#04170F

oklch(0.185 0.031 164.5)

颜色转换

HEX
#04170f
RGB
rgb(4 23 15)
HSL
hsl(155 70% 5%)
HWB
hwb(155 2% 91%)
OKLCH
oklch(0.185 0.031 164.5)
OKLab
oklab(0.185 -0.03 0.008)
CIE Lab
lab(6.05 -7.87 2.4)
LCH
lch(6.05 8.23 163.1)
CMYK
cmyk(83% 0% 35% 91%)

浅色调 · 深色调 · 灰色调

浅色调

  • 182A22
  • 2E3E37
  • 45544C
  • 5D6A64
  • 76817B
  • 909994
  • AAB2AE
  • C6CBC8
  • E2E5E3

深色调

  • 03120B
  • 020E08
  • 010A05
  • 010603
  • 000402
  • 000201
  • 000100
  • 000000
  • 000000

灰色调

  • 0F2019
  • 1A2A23
  • 26342D
  • 323E38
  • 3E4843
  • 4B534F
  • 585E5B
  • 656967
  • 727473

配色和谐

互补色 +180°

  • 04170F

    Cosmic Bit Flip

  • 1C0D16

    ≈ Shot in the Dark

类似色 -30° +30°

  • 04170F

    Cosmic Bit Flip

  • 0D1607

    ≈ Pinch of Pepper

  • 001717

    ≈ Black Glaze

三角配色 +120° +240°

  • 04170F

    Cosmic Bit Flip

  • 111120

    ≈ Corbeau

  • 1E0E07

    ≈ Crowshead

分裂互补色 +150° +210°

  • 04170F

    Cosmic Bit Flip

  • 180E1C

    ≈ Shot in the Dark

  • 1F0D0E

    ≈ Italian Roast

四角配色 +90° +180° +270°

  • 04170F

    Cosmic Bit Flip

  • 091320

    ≈ Midnight Edition

  • 1C0D16

    ≈ Shot in the Dark

  • 1B1003

    ≈ Crowshead

对比度与无障碍

Ag

白底

WCAG 18.50:1 · APCA Lc 105

AAA
Ag

黑底

WCAG 1.13:1 · APCA Lc 0

Fail

最佳文字颜色: #FFFFFF

WCAG 18.50:1 (AAA) · APCA Lc 105

Contrast pairs

  • #04170F / #FFFFFF
  • #04170F / #000000
  • #FFFFFF / #04170F
  • #000000 / #04170F

代码片段

CSS

:root {
  --cosmic-bit-flip: #04170f;
  --cosmic-bit-flip-rgb: 4 23 15;
  --cosmic-bit-flip-oklch: oklch(0.185 0.031 164.5);
}

.element {
  color: var(--cosmic-bit-flip);
  background-color: hsl(155 70% 5%);
  border-color: oklch(0.185 0.031 164.5);
}

Tailwind CSS v4

@theme {
  --color-cosmic-bit-flip: #04170f;
  --color-cosmic-bit-flip-50: #edf8f3;
  --color-cosmic-bit-flip-100: #dfebe5;
  --color-cosmic-bit-flip-200: #c8d9d1;
  --color-cosmic-bit-flip-300: #a9bdb4;
  --color-cosmic-bit-flip-400: #8ea59a;
  --color-cosmic-bit-flip-500: #748d81;
  --color-cosmic-bit-flip-600: #62776d;
  --color-cosmic-bit-flip-700: #4e5f57;
  --color-cosmic-bit-flip-800: #39463f;
  --color-cosmic-bit-flip-900: #27302b;
  --color-cosmic-bit-flip-950: #151d19;
}

SCSS

$cosmic-bit-flip: #04170f;
$cosmic-bit-flip-rgb: 4, 23, 15;
$cosmic-bit-flip-light: mix(#fff, $cosmic-bit-flip, 20%);
$cosmic-bit-flip-dark: mix(#000, $cosmic-bit-flip, 20%);

.element {
  color: $cosmic-bit-flip;
  box-shadow: 0 0 0 2px rgba($cosmic-bit-flip, 0.35);
}

相近的命名颜色

  • 0F180A

    Pinch of Pepper

  • 041108

    Jedi Night

  • 031602

    Oil Slick

  • 051009

    Alpine Salamander

  • 001111

    Black Glaze

  • 16160E

    Darkness

  • 141513

    Distinctive Lack of Hue

  • 121210

    Glimpse Into Space

  • 0F1519

    Black Is Back

  • 141311

    Dark Veil

  • 12110E

    Sinister

  • 131313

    Cursed Black

Palettes with this color

  • Low Everglade AtelierTurquoise · Gray

Palettes with similar colors

  • Electric Hokkaido Lavender BloomPink · 5 Colors
  • Steady Greasy Greens DuneTurquoise · Cold
  • True Illuminati Green DuneTurquoise · Cold
  • Monster Monstera KilnGreen · Cold
  • Classic Into the Green EmberGreen · Cold
  • Steady Illuminati Green AtelierGreen · Cold

在工具中打开

取色器配色组合对比度检测StudioJSON 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