Colore con nome più vicino · #282940
#282940
Colore con nome più vicino: Midnight Masquerade
#282940 (rgb(40 41 64), hsl(237 23% 20%), oklch(0.291 0.042 281.5)) è più vicino al colore con nome Midnight Masquerade. Scopri tinte, ombre, armonie, contrasto WCAG e APCA e codice CSS, Tailwind v4 e SCSS.
#282940
oklch(0.291 0.042 281.5)
Conversioni di colore
- HEX
- #282940
- RGB
- rgb(40 41 64)
- HSL
- hsl(237 23% 20%)
- HWB
- hwb(237 16% 75%)
- OKLCH
- oklch(0.291 0.042 281.5)
- OKLab
- oklab(0.291 0.008 -0.041)
- CIE Lab
- lab(17.33 4.56 -14.88)
- LCH
- lch(17.33 15.57 287.1)
- CMYK
- cmyk(38% 36% 0% 75%)
Tinte · Ombre · Toni
Tinte
- 3A3B51
- 4D4F63
- 616375
- 767788
- 8B8D9B
- A1A2AE
- B8B9C2
- CFD0D6
- E7E7EA
Ombre
- 212236
- 1B1C2D
- 151524
- 0F0F1B
- 090913
- 04050B
- 020205
- 010101
- 000000
Toni
- 303146
- 38394D
- 404253
- 494A59
- 525360
- 5B5C66
- 64656D
- 6D6E73
- 767779
Armonie di colore
Complementare +180°
- 282940
Midnight Masquerade
- 302C12
≈ Brown Tumbleweed
Analogo -30° +30°
- 282940
Midnight Masquerade
- 1C2D40
≈ NATO Blue
- 32253B
≈ Fat Tuesday
Triadico +120° +240°
- 282940
Midnight Masquerade
- 3D241B
≈ Brown Pod
- 173225
≈ Intense Green
Complementare divisa +150° +210°
- 282940
Midnight Masquerade
- 392813
≈ Brown Tumbleweed
- 24301A
≈ Mountain Range Green
Tetradico +90° +180° +270°
- 282940
Midnight Masquerade
- 3E2326
≈ Temptress
- 302C12
≈ Brown Tumbleweed
- 0C3231
≈ Storm Green
Contrasto e accessibilità
Ag
AAASu bianco
WCAG 14.17:1 · APCA Lc 101
Ag
FailSu nero
WCAG 1.48:1 · APCA Lc 0
Miglior colore del testo: #FFFFFF
WCAG 14.17:1 (AAA) · APCA Lc 101
Contrast pairs
Frammenti di codice
CSS
:root {
--midnight-masquerade: #282940;
--midnight-masquerade-rgb: 40 41 64;
--midnight-masquerade-oklch: oklch(0.291 0.042 281.5);
}
.element {
color: var(--midnight-masquerade);
background-color: hsl(237 23% 20%);
border-color: oklch(0.291 0.042 281.5);
}Tailwind CSS v4
@theme {
--color-midnight-masquerade: #282940;
--color-midnight-masquerade-50: #f3f4ff;
--color-midnight-masquerade-100: #e6e6f6;
--color-midnight-masquerade-200: #d1d2e6;
--color-midnight-masquerade-300: #b4b5cd;
--color-midnight-masquerade-400: #9a9cb7;
--color-midnight-masquerade-500: #8183a2;
--color-midnight-masquerade-600: #6d6f89;
--color-midnight-masquerade-700: #57596e;
--color-midnight-masquerade-800: #3f4151;
--color-midnight-masquerade-900: #2b2d38;
--color-midnight-masquerade-950: #191a23;
}SCSS
$midnight-masquerade: #282940;
$midnight-masquerade-rgb: 40, 41, 64;
$midnight-masquerade-light: mix(#fff, $midnight-masquerade, 20%);
$midnight-masquerade-dark: mix(#000, $midnight-masquerade, 20%);
.element {
color: $midnight-masquerade;
box-shadow: 0 0 0 2px rgba($midnight-masquerade, 0.35);
}