Cor nomeada mais próxima · #1E1328
#1E1328
Cor nomeada mais próxima: Shot in the Dark
#1E1328 (rgb(30 19 40), hsl(271 36% 12%), oklch(0.212 0.043 307.2)) é 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.
#1E1328
oklch(0.212 0.043 307.2)
Conversões de cor
- HEX
- #1e1328
- RGB
- rgb(30 19 40)
- HSL
- hsl(271 36% 12%)
- HWB
- hwb(271 7% 84%)
- OKLCH
- oklch(0.212 0.043 307.2)
- OKLab
- oklab(0.212 0.026 -0.034)
- CIE Lab
- lab(7.99 9.85 -12.33)
- LCH
- lch(7.99 15.79 308.6)
- CMYK
- cmyk(25% 53% 0% 84%)
Tons claros · Sombras · Tons
Tons claros
- 31263B
- 443B4E
- 595162
- 6F6777
- 857F8C
- 9C97A2
- B4B0B9
- CDCAD0
- E6E4E7
Sombras
- 190F21
- 130B1B
- 0E0715
- 09050F
- 050309
- 030104
- 010102
- 000001
- 000000
Tons
- 271D30
- 302739
- 393141
- 433C4A
- 4C4653
- 56515B
- 605D64
- 6B686D
- 757477
Harmonias de cor
Complementar +180°
- 1E1328
Shot in the Dark
- 131C05
≈ Pinch of Pepper
Análoga -30° +30°
- 1E1328
Shot in the Dark
- 14162C
≈ Sambucus
- 251020
≈ Inside
Tríade +120° +240°
- 1E1328
Shot in the Dark
- 261402
≈ Cannon Black
- 001E1C
≈ Stellar Explorer
Complementar dividida +150° +210°
- 1E1328
Shot in the Dark
- 1E1900
≈ Noir Mystique
- 041F11
≈ Clock Chimes Thirteen
Tétrade +90° +180° +270°
- 1E1328
Shot in the Dark
- 29110A
≈ Root Brew
- 131C05
≈ Pinch of Pepper
- 001D24
≈ 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: #1e1328;
--shot-in-the-dark-rgb: 30 19 40;
--shot-in-the-dark-oklch: oklch(0.212 0.043 307.2);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(271 36% 12%);
border-color: oklch(0.212 0.043 307.2);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1e1328;
--color-shot-in-the-dark-50: #f9f2ff;
--color-shot-in-the-dark-100: #ece4f3;
--color-shot-in-the-dark-200: #dad0e2;
--color-shot-in-the-dark-300: #beb2c8;
--color-shot-in-the-dark-400: #a598b3;
--color-shot-in-the-dark-500: #8e7f9d;
--color-shot-in-the-dark-600: #786c85;
--color-shot-in-the-dark-700: #60566a;
--color-shot-in-the-dark-800: #463f4e;
--color-shot-in-the-dark-900: #302b37;
--color-shot-in-the-dark-950: #1d1921;
}SCSS
$shot-in-the-dark: #1e1328;
$shot-in-the-dark-rgb: 30, 19, 40;
$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);
}