Nearest named color · #180C25
#180C25
Nearest named color: Shot in the Dark
#180C25 (rgb(24 12 37), hsl(269 51% 10%), oklch(0.186 0.051 304.1)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#180C25
oklch(0.186 0.051 304.1)
Color conversions
- HEX
- #180c25
- RGB
- rgb(24 12 37)
- HSL
- hsl(269 51% 10%)
- HWB
- hwb(269 5% 85%)
- OKLCH
- oklch(0.186 0.051 304.1)
- OKLab
- oklab(0.186 0.028 -0.042)
- CIE Lab
- lab(5.23 9.95 -14.41)
- LCH
- lch(5.23 17.51 304.6)
- CMYK
- cmyk(35% 68% 0% 85%)
Tints · Shades · Tones
Tints
- 2B2038
- 3F354C
- 544B60
- 6A6275
- 817B8B
- 9994A1
- B2AEB8
- CBC8CF
- E5E3E7
Shades
- 13091F
- 0F0619
- 0A0413
- 07030D
- 040208
- 020104
- 010002
- 000000
- 000000
Tones
- 21162E
- 2A2136
- 342C3F
- 3E3748
- 494351
- 534E5A
- 5E5A64
- 69676D
- 757376
Color harmonies
Complementary +180°
- 180C25
Shot in the Dark
- 0F1600
≈ Oil Slick
Analogous -30° +30°
- 180C25
Shot in the Dark
- 0C1029
≈ Corbeau
- 20091C
≈ Meški Black
Triadic +120° +240°
- 180C25
Shot in the Dark
- 200E00
≈ Super Black
- 001815
≈ Black Stallion
Split-complementary +150° +210°
- 180C25
Shot in the Dark
- 191200
≈ Chinese Black
- 001909
≈ Oil Slick
Tetradic +90° +180° +270°
- 180C25
Shot in the Dark
- 250804
≈ Sepia Black
- 0F1600
≈ Oil Slick
- 00171C
≈ Creeping Death
Contrast & accessibility
Ag
AAAOn white
WCAG 18.78:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.11:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 18.78:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #180c25;
--shot-in-the-dark-rgb: 24 12 37;
--shot-in-the-dark-oklch: oklch(0.186 0.051 304.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(269 51% 10%);
border-color: oklch(0.186 0.051 304.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #180c25;
--color-shot-in-the-dark-50: #f9f2ff;
--color-shot-in-the-dark-100: #ece4f6;
--color-shot-in-the-dark-200: #d9cfe6;
--color-shot-in-the-dark-300: #beb1cd;
--color-shot-in-the-dark-400: #a597b7;
--color-shot-in-the-dark-500: #8d7ea2;
--color-shot-in-the-dark-600: #786b89;
--color-shot-in-the-dark-700: #60556e;
--color-shot-in-the-dark-800: #453e51;
--color-shot-in-the-dark-900: #302b39;
--color-shot-in-the-dark-950: #1c1823;
}SCSS
$shot-in-the-dark: #180c25;
$shot-in-the-dark-rgb: 24, 12, 37;
$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);
}