Dichtstbijzijnde benoemde kleur · #1F122A
#1F122A
Dichtstbijzijnde benoemde kleur: Shot in the Dark
#1F122A (rgb(31 18 42), hsl(273 40% 12%), oklch(0.213 0.049 307.7)) komt het dichtst bij de benoemde kleur Shot in the Dark. Bekijk tinten, schaduwen, harmonieën, WCAG- en APCA-contrast en CSS-, Tailwind v4- en SCSS-code.
#1F122A
oklch(0.213 0.049 307.7)
Kleurconversies
- HEX
- #1f122a
- RGB
- rgb(31 18 42)
- HSL
- hsl(273 40% 12%)
- HWB
- hwb(273 7% 84%)
- OKLCH
- oklch(0.213 0.049 307.7)
- OKLab
- oklab(0.213 0.03 -0.039)
- CIE Lab
- lab(7.94 11.44 -13.89)
- LCH
- lch(7.94 17.99 309.5)
- CMYK
- cmyk(26% 57% 0% 84%)
Tinten · Schaduwen · Tonen
Tinten
- 32263D
- 453A50
- 5A5064
- 706778
- 867E8E
- 9D97A3
- B5B0BA
- CDCAD0
- E6E4E7
Schaduwen
- 190E23
- 140A1C
- 0F0716
- 0A0410
- 06020A
- 030105
- 010102
- 000001
- 000000
Tonen
- 281C32
- 31263A
- 3A3043
- 433B4B
- 4D4654
- 57515C
- 615D65
- 6B686E
- 757477
Kleurharmonieën
Complementair +180°
- 1F122A
Shot in the Dark
- 121D03
≈ Yuzu Soy
Analoog -30° +30°
- 1F122A
Shot in the Dark
- 14162F
≈ Lost in Sadness
- 270F21
≈ Inside
Triadisch +120° +240°
- 1F122A
Shot in the Dark
- 271400
≈ Cannon Black
- 001E1C
≈ Stellar Explorer
Gesplitst complementair +150° +210°
- 1F122A
Shot in the Dark
- 1E1900
≈ Noir Mystique
- 011F10
≈ Clock Chimes Thirteen
Tetradisch +90° +180° +270°
- 1F122A
Shot in the Dark
- 2B1007
≈ Root Brew
- 121D03
≈ Yuzu Soy
- 001D24
≈ Stellar Explorer
Contrast en toegankelijkheid
Ag
AAAOp wit
WCAG 17.82:1 · APCA Lc 105
Ag
FailOp zwart
WCAG 1.17:1 · APCA Lc 0
Beste tekstkleur: #FFFFFF
WCAG 17.82:1 (AAA) · APCA Lc 105
Contrast pairs
Codefragmenten
CSS
:root {
--shot-in-the-dark: #1f122a;
--shot-in-the-dark-rgb: 31 18 42;
--shot-in-the-dark-oklch: oklch(0.213 0.049 307.7);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(273 40% 12%);
border-color: oklch(0.213 0.049 307.7);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1f122a;
--color-shot-in-the-dark-50: #f9f2ff;
--color-shot-in-the-dark-100: #ede4f4;
--color-shot-in-the-dark-200: #dacfe4;
--color-shot-in-the-dark-300: #bfb1cb;
--color-shot-in-the-dark-400: #a697b5;
--color-shot-in-the-dark-500: #8f7ea0;
--color-shot-in-the-dark-600: #796b87;
--color-shot-in-the-dark-700: #61556c;
--color-shot-in-the-dark-800: #463e50;
--color-shot-in-the-dark-900: #312b38;
--color-shot-in-the-dark-950: #1d1822;
}SCSS
$shot-in-the-dark: #1f122a;
$shot-in-the-dark-rgb: 31, 18, 42;
$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);
}