Cor nomeada mais próxima · #1B1429
#1B1429
Cor nomeada mais próxima: Shot in the Dark
#1B1429 (rgb(27 20 41), hsl(260 34% 12%), oklch(0.211 0.041 298.1)) é mais próxima da cor nomeada Shot in the Dark. Veja tons claros, sombras, harmonias, contraste WCAG e APCA e código CSS, Tailwind v4 e SCSS.
#1B1429
oklch(0.211 0.041 298.1)
Conversões de cor
- HEX
- #1b1429
- RGB
- rgb(27 20 41)
- HSL
- hsl(260 34% 12%)
- HWB
- hwb(260 8% 84%)
- OKLCH
- oklch(0.211 0.041 298.1)
- OKLab
- oklab(0.211 0.02 -0.037)
- CIE Lab
- lab(7.95 8.12 -13.18)
- LCH
- lch(7.95 15.48 301.6)
- CMYK
- cmyk(34% 51% 0% 84%)
Tons claros · Sombras · Tons
Tons claros
- 2E273C
- 413C4F
- 565163
- 6C6878
- 837F8D
- 9B98A3
- B3B1B9
- CCCAD0
- E5E4E7
Sombras
- 161022
- 110C1C
- 0C0815
- 08050F
- 050309
- 020105
- 010102
- 000001
- 000000
Tons
- 241E31
- 2D283A
- 363242
- 403C4B
- 4A4753
- 55525C
- 5F5D65
- 6A696E
- 757477
Harmonias de cor
Complementar +180°
- 1B1429
Shot in the Dark
- 171B04
≈ Pinch of Pepper
Análoga -30° +30°
- 1B1429
Shot in the Dark
- 10172C
≈ Sambucus
- 231122
≈ Inside
Tríade +120° +240°
- 1B1429
Shot in the Dark
- 261304
≈ Severely Burnt Toast
- 001E19
≈ Stellar Explorer
Complementar dividida +150° +210°
- 1B1429
Shot in the Dark
- 201701
≈ Noir Mystique
- 0A1E0D
≈ Clock Chimes Thirteen
Tétrade +90° +180° +270°
- 1B1429
Shot in the Dark
- 29100E
≈ Root Brew
- 171B04
≈ Pinch of Pepper
- 001D21
≈ Stellar Explorer
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 17.81:1 · APCA Lc 105
Ag
FailSobre preto
WCAG 1.17:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 105
Contrast pairs
Trechos de código
CSS
:root {
--shot-in-the-dark: #1b1429;
--shot-in-the-dark-rgb: 27 20 41;
--shot-in-the-dark-oklch: oklch(0.211 0.041 298.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(260 34% 12%);
border-color: oklch(0.211 0.041 298.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1b1429;
--color-shot-in-the-dark-50: #f7f3ff;
--color-shot-in-the-dark-100: #eae5f4;
--color-shot-in-the-dark-200: #d7d1e4;
--color-shot-in-the-dark-300: #bab3ca;
--color-shot-in-the-dark-400: #a19ab4;
--color-shot-in-the-dark-500: #89819f;
--color-shot-in-the-dark-600: #746d86;
--color-shot-in-the-dark-700: #5d576b;
--color-shot-in-the-dark-800: #43404f;
--color-shot-in-the-dark-900: #2f2c37;
--color-shot-in-the-dark-950: #1b1922;
}SCSS
$shot-in-the-dark: #1b1429;
$shot-in-the-dark-rgb: 27, 20, 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);
}