Colore con nome più vicino · #020161
#020161
Colore con nome più vicino: Alone in the Dark
#020161 (rgb(2 1 97), hsl(241 98% 19%), oklch(0.225 0.153 265.2)) è più vicino al colore con nome Alone in the Dark. Scopri tinte, ombre, armonie, contrasto WCAG e APCA e codice CSS, Tailwind v4 e SCSS.
#020161
oklch(0.225 0.153 265.2)
Conversioni di colore
- HEX
- #020161
- RGB
- rgb(2 1 97)
- HSL
- hsl(241 98% 19%)
- HWB
- hwb(241 0% 62%)
- OKLCH
- oklch(0.225 0.153 265.2)
- OKLab
- oklab(0.225 -0.013 -0.152)
- CIE Lab
- lab(6.86 32.8 -54.48)
- LCH
- lch(6.86 63.6 301.1)
- CMYK
- cmyk(98% 99% 0% 62%)
Tinte · Ombre · Toni
Tinte
- 0B2472
- 223D82
- 3A5493
- 536CA3
- 6E83B2
- 899BC2
- A5B4D1
- C2CCE1
- E0E5F0
Ombre
- 010153
- 010146
- 010039
- 00002D
- 000021
- 000015
- 00000B
- 000003
- 000000
Toni
- 051765
- 0F266A
- 1C336E
- 293E71
- 374A75
- 455578
- 53607A
- 626A7D
- 71757E
Armonie di colore
Complementare +180°
- 020161
Alone in the Dark
- 261A00
≈ Cannon Black
Analogo -30° +30°
- 020161
Alone in the Dark
- 001F2F
≈ Cyanophobia
- 23004D
≈ Crowberry
Triadico +120° +240°
- 020161
Alone in the Dark
- 3C0004
≈ Dark Maroon
- 002404
≈ Tides of Darkness
Complementare divisa +150° +210°
- 020161
Alone in the Dark
- 2F1300
≈ Shadow Play
- 1B1E00
≈ Liquorice Root
Tetradico +90° +180° +270°
- 020161
Alone in the Dark
- 39001E
≈ Rhodophobia
- 261A00
≈ Cannon Black
- 00221B
≈ Stellar Explorer
Contrasto e accessibilità
Ag
AAASu bianco
WCAG 17.80:1 · APCA Lc 103
Ag
FailSu nero
WCAG 1.17:1 · APCA Lc 0
Miglior colore del testo: #FFFFFF
WCAG 17.80:1 (AAA) · APCA Lc 103
Contrast pairs
Frammenti di codice
CSS
:root {
--alone-in-the-dark: #020161;
--alone-in-the-dark-rgb: 2 1 97;
--alone-in-the-dark-oklch: oklch(0.225 0.153 265.2);
}
.element {
color: var(--alone-in-the-dark);
background-color: hsl(241 98% 19%);
border-color: oklch(0.225 0.153 265.2);
}Tailwind CSS v4
@theme {
--color-alone-in-the-dark: #020161;
--color-alone-in-the-dark-50: #e2f5ff;
--color-alone-in-the-dark-100: #d1e7ff;
--color-alone-in-the-dark-200: #b7d3ff;
--color-alone-in-the-dark-300: #95b5ff;
--color-alone-in-the-dark-400: #729bf8;
--color-alone-in-the-dark-500: #547fea;
--color-alone-in-the-dark-600: #476cc5;
--color-alone-in-the-dark-700: #39579f;
--color-alone-in-the-dark-800: #254077;
--color-alone-in-the-dark-900: #192c54;
--color-alone-in-the-dark-950: #0a1938;
}SCSS
$alone-in-the-dark: #020161;
$alone-in-the-dark-rgb: 2, 1, 97;
$alone-in-the-dark-light: mix(#fff, $alone-in-the-dark, 20%);
$alone-in-the-dark-dark: mix(#000, $alone-in-the-dark, 20%);
.element {
color: $alone-in-the-dark;
box-shadow: 0 0 0 2px rgba($alone-in-the-dark, 0.35);
}