最接近的命名颜色 · #1D1329
#1D1329
最接近的命名颜色: Shot in the Dark
#1D1329(rgb(29 19 41)、hsl(267 37% 12%)、oklch(0.211 0.044 303.8))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1D1329
oklch(0.211 0.044 303.8)
颜色转换
- HEX
- #1d1329
- RGB
- rgb(29 19 41)
- HSL
- hsl(267 37% 12%)
- HWB
- hwb(267 7% 84%)
- OKLCH
- oklch(0.211 0.044 303.8)
- OKLab
- oklab(0.211 0.025 -0.037)
- CIE Lab
- lab(7.9 9.67 -13.23)
- LCH
- lch(7.9 16.38 306.2)
- CMYK
- cmyk(29% 54% 0% 84%)
浅色调 · 深色调 · 灰色调
浅色调
- 30263C
- 433B4F
- 585163
- 6E6778
- 857F8D
- 9C97A3
- B4B0B9
- CCCAD0
- E5E4E7
深色调
- 180F22
- 130B1C
- 0E0715
- 09050F
- 050309
- 030105
- 010102
- 000001
- 000000
灰色调
- 261D31
- 2F273A
- 383142
- 423C4B
- 4C4653
- 56515C
- 605D65
- 6A686E
- 757477
配色和谐
互补色 +180°
- 1D1329
Shot in the Dark
- 141C04
≈ Pinch of Pepper
类似色 -30° +30°
- 1D1329
Shot in the Dark
- 12172D
≈ Sambucus
- 251021
≈ Inside
三角配色 +120° +240°
- 1D1329
Shot in the Dark
- 261402
≈ Cannon Black
- 001E1A
≈ Stellar Explorer
分裂互补色 +150° +210°
- 1D1329
Shot in the Dark
- 1F1800
≈ Noir Mystique
- 051E0F
≈ Clock Chimes Thirteen
四角配色 +90° +180° +270°
- 1D1329
Shot in the Dark
- 2A100A
≈ Root Brew
- 141C04
≈ Pinch of Pepper
- 001D23
≈ Stellar Explorer
对比度与无障碍
Ag
AAA白底
WCAG 17.83:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #1d1329;
--shot-in-the-dark-rgb: 29 19 41;
--shot-in-the-dark-oklch: oklch(0.211 0.044 303.8);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(267 37% 12%);
border-color: oklch(0.211 0.044 303.8);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1d1329;
--color-shot-in-the-dark-50: #f8f2ff;
--color-shot-in-the-dark-100: #ebe4f4;
--color-shot-in-the-dark-200: #d9d0e4;
--color-shot-in-the-dark-300: #bdb2ca;
--color-shot-in-the-dark-400: #a498b4;
--color-shot-in-the-dark-500: #8c7f9f;
--color-shot-in-the-dark-600: #776c86;
--color-shot-in-the-dark-700: #5f566b;
--color-shot-in-the-dark-800: #453f4f;
--color-shot-in-the-dark-900: #302b37;
--color-shot-in-the-dark-950: #1c1922;
}SCSS
$shot-in-the-dark: #1d1329;
$shot-in-the-dark-rgb: 29, 19, 41;
$shot-in-the-dark-light: mix(#fff, $shot-in-the-dark, 20%);
$shot-in-the-dark-dark: mix(#000, $shot-in-the-dark, 20%);
.element {
color: $shot-in-the-dark;
box-shadow: 0 0 0 2px rgba($shot-in-the-dark, 0.35);
}